> there should be no match to the re $junk.
> it's impossible for there to be text after then
> end of line.

1) from the regexp grammer, $junk is a valid regexp
2) grep checks input line-by-line
3) the answer to a question whether a *line* complies with '$whatever'
is --- I believe --- undefined. (It definitely should match '$';
however comparing with '$whatever' gets us outside the definitions).

Ruda

Reply via email to