NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/45955: sed(1) fails to append newline after 'c' command



The following reply was made to PR bin/45955; it has been noted by GNATS.

From: "Valeriy E. Ushakov" <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/45955: sed(1) fails to append newline after 'c' command
Date: Thu, 9 Feb 2012 17:19:10 +0400

 On Thu, Feb 09, 2012 at 16:08:56 +0400, Valeriy E. Ushakov wrote:
 
 > I think it's a bug, but a bug in processing of script's source, not in
 > "c" command.
 
 FWIW, I checked V7, and the implicit newline in -e is there, i.e. it
 outputs "bar\n" and "bar\n\n" for the original command and the
 workaround with explicit newline in -e respectively, like GNU sed.
 
 -uwe
 


Home | Main Index | Thread Index | Old Index