Date: Tue, 23 Apr 2002 16:05:02 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Aaron Luz <aaron@csh.rit.edu> Cc: freebsd-questions@FreeBSD.ORG, "Matthew R. Dietrich" <mrd2000@imsa.edu> Subject: Re: sed G? Message-ID: <20020423130501.GD8750@hades.hell.gr> In-Reply-To: <20020423074017.A2763@thud.rochester.rr.com> References: <20020421154846.A29729@imsa.edu> <20020423074017.A2763@thud.rochester.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-04-23 07:40, Aaron Luz wrote: > On Sun, Apr 21, 2002 at 03:48:46PM -0500, Matthew R. Dietrich wrote: > > Does anyone understand why "sed G" doesn't doublespace a provided input? It > > does under other systems I'm aquanted with. Does BSD sed not set the initial > > hold space to a empty line? I'm running a pretty recent stable... > > It seems to work for me. It was recently fixed by jmallett, in src/usr.bin/sed/process.c revision 1.14: revision 1.14 date: 2002/04/05 05:40:20; author: jmallett; state: Exp; lines: +2 -0 Fix sed(1) behaviour for 'G' when given null holdspace by making sure it contains a \n. PR: misc/26153 Submitted by: ashp Reviewed by: mike Obtained from: NetBSD MFC after: 2 days Giorgos Keramidas FreeBSD Documentation Project keramida@{freebsd.org,ceid.upatras.gr} http://www.FreeBSD.org/docproj/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020423130501.GD8750>