svn commit: r269729 - in head/usr.bin/sed: . tests
Jeremie Le Hen
jlh at FreeBSD.org
Mon Aug 11 20:30:04 UTC 2014
Hi Jean Sebastien,
On Fri, Aug 08, 2014 at 05:29:01PM +0000, Jean-Sebastien Pedron wrote:
> Author: dumbbell
> Date: Fri Aug 8 17:29:01 2014
> New Revision: 269729
> URL: http://svnweb.freebsd.org/changeset/base/269729
>
> Log:
> sed(1): Don't force a newline on last line, if input stream doesn't have one
>
> While here, change how we check if the current line is the last one.
> Before, we just checked if there were more files after the current one.
> Now, we check the actual content of those files: they files may not have
> a line at all. This matches the definition of the "last line" by the
> Open Group.
>
> The new behavior is closer to GNU sed.
Any plan to MFC this?
--
Jeremie Le Hen
Scientists say the world is made up of Protons, Neutrons and Electrons.
They forgot to mention Morons.
More information about the svn-src-head
mailing list