summaryrefslogtreecommitdiff
path: root/testsuite/sed/sed-subst-subprint
blob: 24f8bad7df057dc664858ec1d69cb15d04c7bf30 (plain)
1
2
3
4
5
6
7
8
9
busybox sed 's/foo/bar/p'>output <<EOF
foo
bar
EOF
cmp -s output - <<EOF
bar
bar
bar
EOF