> From the POSIX description (used here as some reference), when a
> line is entered in the pattern space, the trailing new line is
> discarded. When the pattern space is written to stdout it seems
> that implicitely the new line is restored---the POSIX description
> says that the input shall be a text file; and ISTR that with an
> editor, a newline is entered to the last line because a text file
> is considered to be an array of newline terminated lines.
>
> This means that it is a grey zone and depends on things that are not all
> explicitely stated and that the p9 sed(1) is not, from the/some
> specification, at fault.

Thanks for some explanation!
I now understand a bit more.
It's a pity, anyhow.

Ruda

Reply via email to