busybox/testsuite/sed/sed-branch

16 lines
102 B
Plaintext
Raw Normal View History

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