On Tue Jul 5 08:42:16 EDT 2011, rudolf.syk...@gmail.com wrote: > >> 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 > > I am sorry, but I don't understand. > What do you mean is wrong, Erik?
there should be no match to the re $junk. it's impossible for there to be text after then end of line. plan 9 does this correctly, my version of p9p (which may differ by being out-of-date) does not. - erik