hush/testsuite/sed/sed-branch-conditional
2003-09-14 11:10:08 +00:00

16 lines
102 B
Plaintext

busybox sed 's/a/1/;t one;p;: one;p'>output <<EOF
a
b
c
EOF
cmp -s output - <<EOF
1
1
b
b
b
c
c
c
EOF