From owner-svn-src-all@FreeBSD.ORG Mon Aug 11 20:30:04 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 26445495; Mon, 11 Aug 2014 20:30:04 +0000 (UTC) Received: from caravan.chchile.org (caravan.chchile.org [178.32.125.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Caravan", Issuer "Mail Client CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E087A2007; Mon, 11 Aug 2014 20:30:03 +0000 (UTC) Received: by caravan.chchile.org (Postfix, from userid 1000) id D8C6CB22C6; Mon, 11 Aug 2014 20:29:54 +0000 (UTC) Date: Mon, 11 Aug 2014 22:29:54 +0200 From: Jeremie Le Hen To: Jean-Sebastien Pedron Subject: Re: svn commit: r269729 - in head/usr.bin/sed: . tests Message-ID: <20140811202954.GA66720@caravan.chchile.org> Mail-Followup-To: Jean-Sebastien Pedron , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <53e508dd.23d7.7477a7f9@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53e508dd.23d7.7477a7f9@svn.freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2014 20:30:04 -0000 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.