bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep info page


From: wolfgang zeikat
Subject: grep info page
Date: Mon, 4 Feb 2002 22:22:58 +0100

hi,

in the
        * Regular Expressions::
section of the info page for grep i found:
        The symbol `\w' is a synonym for `[[:alnum:]]' and `\W' is a
synonym for `[^[:alnum]]'.

the definition of [:alnum] does not contain the understroke _ tho.
nevertheless, grep '\w' also finds the understroke:
address@hidden /root]# echo blah_ | grep '\w'
blah_

best regards,

wolfgang




reply via email to

[Prev in Thread] Current Thread [Next in Thread]