[issue1306] sed(1) adds trailing newline

Alex Hornung (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Wed Aug 12 05:30:17 PDT 2009


Alex Hornung <ahornung at gmail.com> added the comment:

Standard[1] dictates: "Whenever the pattern space is written to standard 
output or a named file, sed shall immediately follow it with a <newline>."

In my personal opinion, though, I'd prefer to see a gnu-compatible sed, even 
if that means breaking standards compliance.

So what is the decision on this? Stick to the standard or stick to gnu?

[1]: http://www.opengroup.org/onlinepubs/9699919799/utilities/sed.html

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1306>
_____________________________________________________





More information about the Bugs mailing list