opnsense-src/tools/regression/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
..
regress.multitest.out Today SUN and GNU seds fully agree on test 5.3 and behave 2007-04-02 07:50:10 +00:00
hanoi.sed Update another mention of <CR><CR> I missed the first time around (rev 1.2) 2002-07-04 05:16:19 +00:00
Makefile Rename sed.test to multitest.t to comply with the naming scheme of 2007-03-14 18:58:59 +00:00
math.sed A new version that does exponents and lots of other neat things. Update 2004-05-01 02:15:58 +00:00
multitest.t Today SUN and GNU seds fully agree on test 5.3 and behave 2007-04-02 07:50:10 +00:00
regress.b2a.out Don't forget to close the range if we branched over its end 2007-04-02 08:14:46 +00:00
regress.bcb.out Correct the psl regression test for sed(1)'s now-fixed newline 2002-06-27 15:58:59 +00:00
regress.c0.out This trivial change should fix at least 3 similar bugs. All of 2007-04-01 13:25:03 +00:00
regress.c1.out This trivial change should fix at least 3 similar bugs. All of 2007-04-01 13:25:03 +00:00
regress.c2.out This trivial change should fix at least 3 similar bugs. All of 2007-04-01 13:25:03 +00:00
regress.c3.out This trivial change should fix at least 3 similar bugs. All of 2007-04-01 13:25:03 +00:00
regress.G.out Add sed(1) tests for proper behaviour of the G option as fixed in PR 26152, 2002-04-21 01:04:03 +00:00
regress.hanoi.out Add Towers of Hanoi regression test. 2007-03-14 07:52:38 +00:00
regress.in Add sed(1) tests for proper behaviour of the G option as fixed in PR 26152, 2002-04-21 01:04:03 +00:00
regress.math.out Add sed math regression test. 2007-03-14 07:55:05 +00:00
regress.P.out For the P function, the newline must be considered a part of the pattern 2002-04-21 01:27:05 +00:00
regress.psl.out Correct the psl regression test for sed(1)'s now-fixed newline 2002-06-27 15:58:59 +00:00
regress.s3.out Add tests for the behaviour of substitution when the regex can match 2003-06-04 15:26:23 +00:00
regress.s4.out Add tests for the behaviour of substitution when the regex can match 2003-06-04 15:26:23 +00:00
regress.s5.out Add tests for the behaviour of substitution when the regex can match 2003-06-04 15:26:23 +00:00
regress.sg.out Add tests for the behaviour of substitution when the regex can match 2003-06-04 15:26:23 +00:00
regress.sh Change the semantics of -i (in-place editing) so that it treats 2007-04-21 01:21:36 +00:00
regress.t Switch over to a different, more flexible test output protocol that's 2004-11-11 19:47:55 +00:00
regress.y.out Add missing newline to correct failure of the regression test. 2007-03-14 07:01:49 +00:00