summaryrefslogtreecommitdiffhomepage
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 000000000..ba8955d6e
--- /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 -