aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorGravatar Matt Kraai <kraai@debian.org>2002-01-03 21:12:34 +0000
committerGravatar Matt Kraai <kraai@debian.org>2002-01-03 21:12:34 +0000
commit5ed78adca590ba9991c55b71f0a9b7f1b31e7934 (patch)
tree12dc218905c2a50d32897b6a5478ad049cfe53f2 /testsuite
parentd2995632570567fc3a77587175d32fc97e4d552a (diff)
downloadbusybox-5ed78adca590ba9991c55b71f0a9b7f1b31e7934.tar.gz
busybox-5ed78adca590ba9991c55b71f0a9b7f1b31e7934.tar.bz2
* 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 000000000..6421fa552
--- /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