freebsd-dev/usr.bin/sed
Yaroslav Tykhiy f6703c9c0a Change the semantics of -i (in-place editing) so that it treats
each file independently from other files.  The new semantics are
desired in the most of practical cases, e.g.: delete lines 5-9
from each file.

Keep the previous semantics of -i under a new option, -I, which
uses a single continuous address space covering all files to edit
in-place -- they are too cool to just drop them.

Add regression tests for -i and -I.

Approved by:	dds
Compared with:	GNU sed
Discussed on:	-hackers
MFC after:	2 weeks
2007-04-21 01:21:36 +00:00
..
compile.c Bug fix: a numeric flag specification in the substitute command would 2005-08-04 10:05:12 +00:00
defs.h Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived 2004-08-09 15:29:41 +00:00
extern.h Change the semantics of -i (in-place editing) so that it treats 2007-04-21 01:21:36 +00:00
main.c Change the semantics of -i (in-place editing) so that it treats 2007-04-21 01:21:36 +00:00
Makefile Kill superfluous blank line. 2002-06-17 08:21:53 +00:00
misc.c Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived 2004-08-09 15:29:41 +00:00
POSIX style(9): 2007-04-06 08:43:30 +00:00
process.c Change the semantics of -i (in-place editing) so that it treats 2007-04-21 01:21:36 +00:00
sed.1 Change the semantics of -i (in-place editing) so that it treats 2007-04-21 01:21:36 +00:00