[2013-06-11 14:24] Rudolf Sykora <[email protected]>
> > plan 9 sed reads a second line before quitting (note the "def" in the 
> > example
> > below); sed does not work.

Erik, thanks for the explanation.

However, the man page states:

        q       Quit. Branch to the end of the script. Do not start a new cycle.

Thus, this is a bit odd.


> Is there any good reason for this difference between plan9 and gnu behaviour?

It looks a bit like the bug described in the man page, although input is read
from the terminal, not from a pipe.

http://plan9.bell-labs.com/magic/man2html/1/sed


meillo

Reply via email to