Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Nov 2016 20:50:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 213474] sed behavior change with a/i/c operands.
Message-ID:  <bug-213474-8-mMoEcsNBN7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-213474-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-213474-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213474

--- Comment #5 from commit-hook@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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213474-8-mMoEcsNBN7>