* editors/sed.c (process_file): Stop processing deleted lines.

* testsuite/sed/sed-does-not-substitute-in-delete-line: New.
This commit is contained in:
Matt Kraai
2002-04-01 16:17:37 +00:00
parent 75ce8d7c88
commit 5c69cd84ff
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,2 @@
echo foo | busybox sed -e /foo/d -e s/foo/bar/ >foo
cmp foo /dev/null