hush/testsuite/sed/sed-does-not-substitute-in-deleted-line
Matt Kraai 5c69cd84ff * editors/sed.c (process_file): Stop processing deleted lines.
* testsuite/sed/sed-does-not-substitute-in-delete-line: New.
2002-04-01 16:17:37 +00:00

3 lines
70 B
Plaintext

echo foo | busybox sed -e /foo/d -e s/foo/bar/ >foo
cmp foo /dev/null