From: Led <ledest@gmail.com> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] Hello new grep! Date: Thu, 25 Mar 2010 17:52:57 +0200 Message-ID: <201003251752.57360.ledest@gmail.com> (raw) In-Reply-To: <20100325153939.GB9648@wo.int.altlinux.org> On Thursday 25 March 2010 17:39:39 Dmitry V. Levin wrote: > On Thu, Mar 25, 2010 at 05:26:27PM +0200, Led wrote: > > Здравствуй новый, "правильный" grep! > > > > $ cat /proc/stat | LC_COLLATE=en_US.UTF-8 egrep '^cpu[[:digit:]]+' > > /proc/stat > > cat тут немного лишний. Да, необязательный. Я делал и так и эдак. > > > cpu0 39641 0 11029 101634 11400 281 243 0 0 > > cpu1 27475 0 48586 90130 1763 0 3 0 0 > > cpu2 33675 0 15007 120071 1696 0 7 0 0 > > cpu3 29776 0 39065 98772 1373 0 6 0 0 > > $ cat /proc/stat | LC_COLLATE=en_US.UTF-8 egrep '^cpu[0-9]+' /proc/stat > > Это, наверное, https://bugzilla.altlinux.org/23228 Похоже, потому как проявляется именно на диапазонах - обычные перечисления (например, [0123456789]) - работают. -- Led
next prev parent reply other threads:[~2010-03-25 15:52 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-03-25 15:26 Led 2010-03-25 15:39 ` Dmitry V. Levin 2010-03-25 15:52 ` Led [this message] 2010-03-25 15:57 ` Dmitry V. Levin
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=201003251752.57360.ledest@gmail.com \ --to=ledest@gmail.com \ --cc=devel@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 Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git