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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 4 20:50:34 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213474

--- Comment #5 from commit-hook at freebsd.org ---
A commit references this bug:

Author: pfg
Date: Fri Nov  4 20:49:59 UTC 2016
New revision: 308314
URL: https://svnweb.freebsd.org/changeset/base/308314

Log:
  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 behaviour.

  PR:           213474
  MFC after:    5 days

Changes:
  head/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