The following reply was made to PR bin/144441; it has been noted by GNATS. From: Garrett Cooper <yanef...@gmail.com> To: bug-follo...@freebsd.org, gcoo...@freebsd.org Cc: d...@freebsd.org Subject: Re: bin/144441: sed(1): Confusing error message from sed with 's/.*/d' ": unescaped newline inside substitute pattern Date: Mon, 15 Mar 2010 03:41:44 -0700
Someone appears to have inadvertently fixed this between 8.x and CURRENT: [gcoo...@bayonetta /scratch/src/head/tools/regression/usr.bin/hexdump]$ sed 's/games:/d' /etc/passwd sed: 1: "s/games:/d": unterminated substitute in regular expression [gcoo...@bayonetta /scratch/src/head/tools/regression/usr.bin/hexdump]$ uname -a FreeBSD bayonetta.localdomain 9.0-CURRENT FreeBSD 9.0-CURRENT #2: Thu Mar 4 13:16:39 PST 2010 gcoo...@bayonetta.localdomain:/usr/obj/usr/src/sys/BAYONETTA amd64 This statement makes much more logical sense than the one currently reported in 8-STABLE. I believe r197362 did the trick, but I need to verify whether or not this is true. If it isn't that change then it's most likely r197361. Thanks, -Garrett _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"