Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Nov 2016 18:01:27 +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-WJyPx0byM9@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 #8 from commit-hook@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

--=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-WJyPx0byM9>