Fix a bug that creapt in recently with substitution subprinting, and add
a test for it.
This commit is contained in:
9
testsuite/sed/sed-subst-subprint
Normal file
9
testsuite/sed/sed-subst-subprint
Normal file
@@ -0,0 +1,9 @@
|
||||
busybox sed 's/foo/bar/p'>output <<EOF
|
||||
foo
|
||||
bar
|
||||
EOF
|
||||
cmp -s output - <<EOF
|
||||
bar
|
||||
bar
|
||||
bar
|
||||
EOF
|
Reference in New Issue
Block a user