summaryrefslogtreecommitdiff
path: root/testsuite/sed/sed-prints-line-once-for-multiple-substs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/sed/sed-prints-line-once-for-multiple-substs')
-rw-r--r--testsuite/sed/sed-prints-line-once-for-multiple-substs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/sed/sed-prints-line-once-for-multiple-substs b/testsuite/sed/sed-prints-line-once-for-multiple-substs
new file mode 100644
index 0000000..ba8955d
--- /dev/null
+++ b/testsuite/sed/sed-prints-line-once-for-multiple-substs
@@ -0,0 +1,4 @@
+busybox sed -e s/1/2/g -e s/3/4/g >output <<EOF
+1
+EOF
+echo 2 | cmp -s output -