From: Denis Nazarov <marsden@mail.ru> To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org> Subject: Re: [sisyphus] grep: bug in UTF8 locale? Date: Thu, 24 Jul 2008 17:18:22 +0600 Message-ID: <200807241718.22070.marsden@mail.ru> (raw) In-Reply-To: <75e139a00807240416w2bff23c4m59f0ee9ee69c55a6@mail.gmail.com> В сообщении от Thursday 24 July 2008 17:16:39 Slava Semushin написал(а): > 24 июля 2008 г. 18:11 пользователь Denis Nazarov <marsden / mail.ru> написал: > > [denis@buka ~]$ LANG=C echo "Test" | grep '^[a-z]' > > Test > > Здесь вы запустили echo в локали С, а grep запустится с вашей локалью. > Поэтому результат и не изменился. > > >[denis@buka ~]$ echo "Test" | LANG=C > >bash: echo: ошибка записи: Обрыв канала > > Здесь видим, что вы не очень понимаете как работает и что делает LANG=C > ;) После пайпа должна быть команда, а LANG=C это не команда это > установка переменной окружения. sorry, сразу не понял в чем прикол :)
next prev parent reply other threads:[~2008-07-24 11:18 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-07-24 11:03 Slava Semushin 2008-07-24 11:11 ` Denis Nazarov 2008-07-24 11:16 ` Slava Semushin 2008-07-24 11:18 ` Denis Nazarov [this message] 2008-07-24 11:11 ` Slava Semushin 2008-07-24 11:12 ` Denis Nazarov
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=200807241718.22070.marsden@mail.ru \ --to=marsden@mail.ru \ --cc=sisyphus@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 Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git