|
From: | Bauke Jan Douma |
Subject: | Re: grep |
Date: | Wed, 25 Apr 2007 23:41:23 +0200 |
User-agent: | Thunderbird 2.0.0.0 (X11/20070326) |
Vladislav Gula wrote on 25-04-07 19:33:
echo "alias: something" | grep '^[[:alnum:]]:' - not work. why ? Regards, Vladislav P.S. echo "alias: something" | grep '^[[:alnum:]]:.*$' - not work too. ( and various variations )
Make it: echo "alias: something" | grep '^[[:alnum:]]*:' or: echo "alias: something" | grep '^[[:alnum:]]\+:' bjd
[Prev in Thread] | Current Thread | [Next in Thread] |