* [Comm] grep
@ 2008-08-08 3:08 Ivan Petrov
2008-08-08 5:20 ` Michael A. Kangin
0 siblings, 1 reply; 3+ messages in thread
From: Ivan Petrov @ 2008-08-08 3:08 UTC (permalink / raw)
To: community
скажите, а grep может искать по разным кодировкам? Интересуют cp2151,
cp866, unicode (тот, что в файлах формата Word97)?
И.П.
З.Ы, Ман на английском, я читал, но определенность не наступила :-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] grep
2008-08-08 3:08 [Comm] grep Ivan Petrov
@ 2008-08-08 5:20 ` Michael A. Kangin
2008-08-08 6:26 ` Mikhail Gusarov
0 siblings, 1 reply; 3+ messages in thread
From: Michael A. Kangin @ 2008-08-08 5:20 UTC (permalink / raw)
To: ALT Linux Community general discussions
On 8 августа 2008 Ivan Petrov wrote:
> скажите, а grep может искать по разным кодировкам? Интересуют cp2151,
> cp866, unicode (тот, что в файлах формата Word97)?
iconv -f enc -t enc |grep word
(man iconv)
Только тот, что формат ворда - нечистый текст, надо поискать конвертер в текст
и еще через него прогонять.
--
wbr, Michael A. Kangin
OIOS, RSMU
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-08 6:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-08 3:08 [Comm] grep Ivan Petrov
2008-08-08 5:20 ` Michael A. Kangin
2008-08-08 6:26 ` Mikhail Gusarov
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