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:31:09 +0400

 On Thu, Feb 09, 2012 at 17:19:10 +0400, Valeriy E. Ushakov wrote:
 
 > FWIW, I checked V7 [...]
 
 Heh, we actually do have a bug in "c" but a different one :)
 
 V7 sed(1) manual explicitely states that "c" starts the next cycle,
 like "d".
 
 So a a script that does
 
   c\
   c1
   c\
   c2
 
 should emit only "c1", as it does for v7 or gnu sed.
 
 Our sed emits both c1 and c2.
 
 -uwe
 


Home | Main Index | Thread Index | Old Index