On Thu, Jun 14, 2012 at 04:13:12PM +0200, Gorka Guardiola wrote: > Also this: > > cpu% echo hola | grep '*' > grep: *: syntax error
The plan9 regexp are mainly Extended Regular Expression. If the POSIX description is taken, a leading '*' is a syntax error. I guess that the leading '*' followed by some non empty pattern is a Plan9 way to get "grep -F" ? > cpu% echo hola | grep '' > grep: empty pattern >From the POSIX description, an empty pattern is not allowed. '*' is not an empty pattern. -- Thierry Laronde <tlaronde +AT+ polynum +dot+ com> http://www.kergis.com/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C