freebsd-dev/usr.bin/sed
Pedro F. Giffuni b780b03cbe 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
2016-11-04 20:49:59 +00:00
..
tests Testcase 7.8 no longer needs to be marked TODO 2016-07-27 06:49:16 +00:00
compile.c sed(1): add LEGACY_BSDSED_COMPAT compile-time flag. 2016-11-04 20:49:59 +00:00
defs.h sed(1): Revert r303047 "cleanup" and therefore r303572. 2016-08-02 15:35:53 +00:00
extern.h sed(1): Revert r303047 "cleanup" and therefore r303572. 2016-08-02 15:35:53 +00:00
main.c sed(1): Revert r303047 "cleanup" and therefore r303572. 2016-08-02 15:35:53 +00:00
Makefile sed(1): Revert r303047 "cleanup" and therefore r303572. 2016-08-02 15:35:53 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
misc.c sed(1): Revert r303047 "cleanup" and therefore r303572. 2016-08-02 15:35:53 +00:00
POSIX
process.c sed(1): Revert r303047 "cleanup" and therefore r303572. 2016-08-02 15:35:53 +00:00
sed.1 sed.1: Correction for the case insensitive case. 2016-05-10 17:01:51 +00:00