diff options
author | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-01-03 21:12:34 +0000 |
---|---|---|
committer | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-01-03 21:12:34 +0000 |
commit | 976c5a1a393382c6cc8db41168c27631a8366269 (patch) | |
tree | 12dc218905c2a50d32897b6a5478ad049cfe53f2 /testsuite/sed | |
parent | b496e5f9eb72cc6578ad70bec987291a4c66b1e1 (diff) | |
download | busybox-w32-976c5a1a393382c6cc8db41168c27631a8366269.tar.gz busybox-w32-976c5a1a393382c6cc8db41168c27631a8366269.tar.bz2 busybox-w32-976c5a1a393382c6cc8db41168c27631a8366269.zip |
* editors/sed.c (parse_edit_cmd): Rewrite.
* testsuite/sed/sed-splits-edit-commands-on-command-line: New.
git-svn-id: svn://busybox.net/trunk/busybox@4010 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'testsuite/sed')
-rw-r--r-- | testsuite/sed/sed-splits-edit-commands-on-command-line | 9 |
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 @@ | |||
1 | echo 2 | busybox sed -e 'i\ | ||
2 | 1 | ||
3 | a\ | ||
4 | 3' > output | ||
5 | cmp output - <<EOF | ||
6 | 1 | ||
7 | 2 | ||
8 | 3 | ||
9 | EOF | ||