* editors/sed.c (parse_edit_cmd): Rewrite.
* testsuite/sed/sed-splits-edit-commands-on-command-line: New.
This commit is contained in:
9
testsuite/sed/sed-splits-edit-commands-on-command-line
Normal file
9
testsuite/sed/sed-splits-edit-commands-on-command-line
Normal file
@@ -0,0 +1,9 @@
|
||||
echo 2 | busybox sed -e 'i\
|
||||
1
|
||||
a\
|
||||
3' > output
|
||||
cmp output - <<EOF
|
||||
1
|
||||
2
|
||||
3
|
||||
EOF
|
Reference in New Issue
Block a user