From: Sergey Kuznetsov <yozhik@atom.ru> To: ALT <community@altlinux.ru> Subject: [Comm] grep syntax question Date: Sat, 20 Mar 2004 18:35:15 +0300 Message-ID: <20040320183515.10d0bac1.yozhik@atom.ru> (raw) Здравствуйте! Для того, чтобы вывести на экран все закомментированные строчки какого-либо файла настройки достаточно сказать: cat <some file> | grep ^# А что надо сказать, чтобы увидеть НЕзакомментированные строчки? cat <some file> | grep !^# равоно как и cat <some file> | grep ^!# не прокатывает. С уважением, Сергей
next reply other threads:[~2004-03-20 15:35 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-03-20 15:35 Sergey Kuznetsov [this message] 2004-03-20 15:36 ` Denis S. Filimonov 2004-03-20 15:40 ` Sergey Kuznetsov 2004-03-23 11:23 ` tarasenko 2004-03-23 18:29 ` Sergey Kuznetsov 2004-03-23 11:26 ` tarasenko
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=20040320183515.10d0bac1.yozhik@atom.ru \ --to=yozhik@atom.ru \ --cc=community@altlinux.ru \ /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