Date: Mon, 11 Aug 2014 22:29:54 +0200 From: Jeremie Le Hen <jlh@FreeBSD.org> To: Jean-Sebastien Pedron <dumbbell@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r269729 - in head/usr.bin/sed: . tests Message-ID: <20140811202954.GA66720@caravan.chchile.org> In-Reply-To: <53e508dd.23d7.7477a7f9@svn.freebsd.org> References: <53e508dd.23d7.7477a7f9@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140811202954.GA66720>