freebsd-dev/usr.bin/sed
Yaroslav Tykhiy e9a0eed451 Don't forget to close the range if we branched over its end
and had no chance to match it by the 2nd address precisely.
Otherwise the unclosed range would bogusly extend to the end
of stream.

Add a basic regression test for the bug fixed.  (This change
also fixes the more complex case 5.3 from `multitest.t'.)

Compared with:	SUN and GNU seds
Tested by:	regression tests
MFC after:	1 week
2007-04-02 08:14:46 +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
extern.h
main.c The function inplace_edit() doesn't exist anymore, remove the prototype. 2005-09-24 13:18:30 +00:00
Makefile
misc.c
POSIX
process.c Don't forget to close the range if we branched over its end 2007-04-02 08:14:46 +00:00
sed.1 Markup and wording fixes. 2005-06-14 11:50:53 +00:00