hush/testsuite/sed/sed-subst-subprint

10 lines
89 B
Plaintext
Raw Normal View History

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