hush/testsuite/sed/sed-subst-subprint
2003-09-16 01:46:36 +00:00

10 lines
89 B
Plaintext

busybox sed 's/foo/bar/p'>output <<EOF
foo
bar
EOF
cmp -s output - <<EOF
bar
bar
bar
EOF