On Tue Jul 5 03:57:02 EDT 2011, dexen.devr...@gmail.com wrote: > on plan9port: > % echo foobar | 9 grep '$JUNK' > -> foobar > > that is, p9p grep matches any line with regular expression in form of > $ANY_REGEX > > why is it so?
this is a bug. see the grammar in regexp(6). plan 9 grep does not have this problem. - erik