Searched hist:213474 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/usr.bin/sed/
H A Dcompile.cdiff 308472 Wed Nov 09 11:01:37 MST 2016 pfg 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

Completed in 89 milliseconds