summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorMatt Kraai2002-01-03 21:12:34 +0000
committerMatt Kraai2002-01-03 21:12:34 +0000
commit5ed78adca590ba9991c55b71f0a9b7f1b31e7934 (patch)
tree12dc218905c2a50d32897b6a5478ad049cfe53f2 /testsuite
parentd2995632570567fc3a77587175d32fc97e4d552a (diff)
downloadbusybox-5ed78adca590ba9991c55b71f0a9b7f1b31e7934.zip
busybox-5ed78adca590ba9991c55b71f0a9b7f1b31e7934.tar.gz
* editors/sed.c (parse_edit_cmd): Rewrite.
* testsuite/sed/sed-splits-edit-commands-on-command-line: New.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/sed/sed-splits-edit-commands-on-command-line9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/sed/sed-splits-edit-commands-on-command-line b/testsuite/sed/sed-splits-edit-commands-on-command-line
new file mode 100644
index 0000000..6421fa5
--- /dev/null
+++ b/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