On Fri, Jun 21, 2002 at 06:42:26PM -0700, Tim J. Robbins wrote: > tjr 2002/06/21 18:42:26 PDT > > Modified files: > usr.bin/sed main.c process.c > Log: > Don't store newlines at the end of each line in the hold/pattern spaces, > instead add the newline when the pattern space is printed. Make the `G' and > `H' commands add a newline to the space before the data, remove bogus > addition of newline from `x' command. > > PR: 29790, 38195 > > Revision Changes Path > 1.25 +2 -0 src/usr.bin/sed/main.c > 1.21 +10 -11 src/usr.bin/sed/process.c
Please let me know if this breaks any (correct) existing scripts, especially the fancy ones used by some of the GNU build tools. The behaviour of everything but the G, H and x commands should be no different than they were before the change. The G, H, x commands were implemented incorrectly before this change, the behaviour now seems to be consistent with Solaris, V7, POSIX and GNU. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message