diff options
author | Matt Kraai | 2002-04-01 16:17:37 +0000 |
---|---|---|
committer | Matt Kraai | 2002-04-01 16:17:37 +0000 |
commit | 5c69cd84ffe92b3b51d1ca766c34b5cd028dd0ca (patch) | |
tree | 7a6647361bb85fdf621cab6e222b07643b8e905d /testsuite/sed | |
parent | 75ce8d7c8886886a2852ccfc44a962f43e1e8a71 (diff) | |
download | busybox-5c69cd84ffe92b3b51d1ca766c34b5cd028dd0ca.zip busybox-5c69cd84ffe92b3b51d1ca766c34b5cd028dd0ca.tar.gz |
* editors/sed.c (process_file): Stop processing deleted lines.
* testsuite/sed/sed-does-not-substitute-in-delete-line: New.
Diffstat (limited to 'testsuite/sed')
-rw-r--r-- | testsuite/sed/sed-does-not-substitute-in-deleted-line | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/sed/sed-does-not-substitute-in-deleted-line b/testsuite/sed/sed-does-not-substitute-in-deleted-line new file mode 100644 index 0000000..6f106e1 --- /dev/null +++ b/testsuite/sed/sed-does-not-substitute-in-deleted-line @@ -0,0 +1,2 @@ +echo foo | busybox sed -e /foo/d -e s/foo/bar/ >foo +cmp foo /dev/null |