* editors/sed.c (process_file): Stop processing deleted lines.
* testsuite/sed/sed-does-not-substitute-in-delete-line: New.
This commit is contained in:
2
testsuite/sed/sed-does-not-substitute-in-deleted-line
Normal file
2
testsuite/sed/sed-does-not-substitute-in-deleted-line
Normal file
@ -0,0 +1,2 @@
|
||||
echo foo | busybox sed -e /foo/d -e s/foo/bar/ >foo
|
||||
cmp foo /dev/null
|
Reference in New Issue
Block a user