Re: Regular expression with egrep question...
On Thu, 03 Jan 2008 18:31:39 -0600, Ed Morton wrote:
> egrep '[[:blank:]]+' myfile.txt
>
> is probably what you want. "\s" may be a shorthand perl-ism which your egrep may
> support when you use the "-P" (for perl) flag.
>
> Ed.
I tried the -P switch specifying perl type regex, but get this error.
Any ideas?
-Thanks
michigan:/home/sombody> egrep -P '^\s+' test.txt
egrep: conflicting matchers specified
|