From: Chernetsky Andrey <andy_ch@open.by.> To: ALT Linux Community <community@lists.altlinux.org> Subject: Re: [Comm] text | binary Date: Sun, 5 Nov 2006 18:22:49 +0200 Message-ID: <20061105162249.GA1807@localhost.localdomain> (raw) In-Reply-To: <op.tijqanffmb8vzs@oc.peooc.net> Aleksander N.Gorohovski написал: > Доброго времени суток сообщество! > Не подскажите есть ли более менее надёжный способ > определить является ли файл текстовым (например, типа tex) или > двоичным (картинки, скомпилированный код ...). > Попробовал на Perl с помощью операторов тестирования файлов > -T > -B > но они что-то не коректно работают > (и не понятен алгоритм по каким признакам они это делают) > Спасибо. man file ? -- С уважением, Андрей. _____________________________________ ALT Linux fortune: > Прошу maintainer'ов принять меры. > QA Robot вам об этом обязательно скоро напомнит. :) НЕЕЕЕЕТ! Умоляю, не надо! -- inger in devel@
next prev parent reply other threads:[~2006-11-05 16:22 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-11-05 13:55 Aleksander N.Gorohovski 2006-11-05 16:22 ` Chernetsky Andrey [this message] 2006-11-05 16:01 ` Aleksander N.Gorohovski 2006-11-05 19:07 ` Michael Shigorin 2006-11-05 17:48 ` Aleksander N.Gorohovski 2006-11-05 19:53 ` Michael Shigorin 2006-11-05 18:25 ` Aleksander N.Gorohovski
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20061105162249.GA1807@localhost.localdomain \ --to=andy_ch@open.by. \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git