summaryrefslogtreecommitdiff
path: root/release/src/router/busybox/testsuite/sed/sed-splits-edit-commands-on-command-line
diff options
context:
space:
mode:
Diffstat (limited to 'release/src/router/busybox/testsuite/sed/sed-splits-edit-commands-on-command-line')
-rwxr-xr-xrelease/src/router/busybox/testsuite/sed/sed-splits-edit-commands-on-command-line9
1 files changed, 9 insertions, 0 deletions
diff --git a/release/src/router/busybox/testsuite/sed/sed-splits-edit-commands-on-command-line b/release/src/router/busybox/testsuite/sed/sed-splits-edit-commands-on-command-line
new file mode 100755
index 00000000..6421fa55
--- /dev/null
+++ b/release/src/router/busybox/testsuite/sed/sed-splits-edit-commands-on-command-line
@@ -0,0 +1,9 @@
+echo 2 | busybox sed -e 'i\
+1
+a\
+3' > output
+cmp output - <<EOF
+1
+2
+3
+EOF