how to find spaces with a regex?

Vincent pros-n-cons at bak.rr.com
Sat Feb 21 04:57:55 UTC 2004


On Fri, 20 Feb 2004 18:25:58 -0800
"Bevan C. Bennett" <bevan at fulcrummicro.com> wrote:

> I don't think grep actually uses \s to mean a space... at least 'man 
> grep' doesn't appear to mention it... although many other regexps do.
> 

I think you may be right, perl certainly uses it and there is a grep -P option for perl regex though.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20040220/5ee945b7/attachment-0002.bin 


More information about the users mailing list