Fix the following testcase by storing the state of the adress match with
authorGlenn L McGrath <bug1@ihug.co.nz>
Sat, 13 Sep 2003 06:57:39 +0000 (06:57 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Sat, 13 Sep 2003 06:57:39 +0000 (06:57 -0000)
commitc18ce373a21f72b23259c9c15503ac8800d605c7
tree4cfed64c2642b0aed4214dbbc6216eda1c3c51ea
parentc2b9186be16e71a2fc5c4f05346a876a30bfbd16
Fix the following testcase by storing the state of the adress match with
the command.
# cat strings
a
b
c
d
e
f
g
# ./busybox sed '1,2d;4,$d' <strings
c
# ./busybox sed '4,$d;1,2d' <strings
# sed '4,$d;1,2d' <strings
c
# sed '1,2d;4,$d' <strings
c
editors/sed.c