[Bug 213474] sed behavior change with a/i/c operands.
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Nov 9 18:01:27 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213474
--- Comment #8 from commit-hook at freebsd.org ---
A commit references this bug:
Author: pfg
Date: Wed Nov 9 18:00:50 UTC 2016
New revision: 308472
URL: https://svnweb.freebsd.org/changeset/base/308472
Log:
MFC r308314:
sed(1): add LEGACY_BSDSED_COMPAT compile-time flag.
In r297602, which included a __FreeBSD_version bump to 1100105, we changed
sed 'i' and 'a' from discarding whitespaces to conform with what GNU and
sysvish sed do.
There are arguments in favor of keeping the old behavior but the new
behavior is also useful for migration purposes. It seems important to at
least consider the case of developers depending on the previous behavior
so add a CFLAG to enable the old behavior.
PR: 213474
Changes:
_U stable/11/
stable/11/usr.bin/sed/compile.c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list