[Bug 213474] sed behavior change with a/i/c operands.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 20 16:35:42 UTC 2016


Pedro F. Giffuni <pfg at FreeBSD.org> changed:

           What    |Removed                     |Added
 Attachment #175892|0                           |1
        is obsolete|                            |

--- Comment #3 from Pedro F. Giffuni <pfg at FreeBSD.org> ---
Created attachment 175985
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=175985&action=edit
Add a CFLAG to re-enable FreeBSD 10 behavior

The new behavior in FBSD 11+, is also present in SYSV UNIX. The new behavior
should help people migrating from Solaris as well as linux so I think it should
be the default.

It still looks convenient and easy to add a CFLAG (LEGACY_BSDSED_COMPAT) to
make it easier to re-enable the old behavior.

I am not convinced we should go as far as adding a new build option for this,
but at least this should make it easier to custom-build a sed that supports the
old behavior.

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list