From: Led <ledest@gmail.com> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: [devel] Hello new grep! Date: Thu, 25 Mar 2010 17:26:27 +0200 Message-ID: <201003251726.27280.ledest@gmail.com> (raw) Здравствуй новый, "правильный" grep! $ cat /proc/stat | LC_COLLATE=en_US.UTF-8 egrep '^cpu[[:digit:]]+' /proc/stat 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 $ cat /proc/stat | LC_COLLATE=en_US.UTF-8 egrep '^cpu[1-2]+' /proc/stat cpu2 34465 0 16070 128355 1701 0 7 0 0 cpu3 31309 0 45963 99936 1373 0 7 0 0 $ cat /proc/stat | LC_COLLATE=C egrep '^cpu[0-9]+' /proc/stat cpu0 41141 0 11292 112957 11509 304 253 0 0 cpu1 28968 0 50902 99790 1763 0 3 0 0 cpu2 34755 0 16104 131568 1704 0 7 0 0 cpu3 31766 0 46380 102599 1373 0 7 0 0 $ rpm -q grep grep-2.6-alt1 -- Led
next reply other threads:[~2010-03-25 15:26 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-03-25 15:26 Led [this message] 2010-03-25 15:39 ` Dmitry V. Levin 2010-03-25 15:52 ` Led 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=201003251726.27280.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