From 5c69cd84ffe92b3b51d1ca766c34b5cd028dd0ca Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Mon, 1 Apr 2002 16:17:37 +0000 Subject: * editors/sed.c (process_file): Stop processing deleted lines. * testsuite/sed/sed-does-not-substitute-in-delete-line: New. --- testsuite/sed/sed-does-not-substitute-in-deleted-line | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 testsuite/sed/sed-does-not-substitute-in-deleted-line (limited to 'testsuite/sed') 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 -- cgit v1.1