Fix a bug that creapt in recently with substitution subprinting, and add

a test for it.
This commit is contained in:
Glenn L McGrath
2003-09-16 01:46:36 +00:00
parent 96fd1b98f1
commit 204ff1cea4
2 changed files with 11 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
busybox sed 's/foo/bar/p'>output <<EOF
foo
bar
EOF
cmp -s output - <<EOF
bar
bar
bar
EOF