On Thu, Jun 14, 2012 at 10:49:51AM -0400, erik quanstrom wrote:
> > 
> > > cpu%  echo hola | grep ''
> > > grep: empty pattern
> > 
> >  From the POSIX description, an empty pattern is not allowed. '*' is not
> > an empty pattern.
> 
> i'm sorry this just isn't correct.  see the man page.
> 
> plan 9 grep has no intentions of being posix.  grep '*' can be seen as a 
> literal
> escape plus the pattern of ''.  this is an empty pattern, thus an error.

In this case, shouldn't the error message be exactly the same?

-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                      http://www.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

Reply via email to