busybox/testsuite/sed/sed-branch-conditional

16 lines
102 B
Plaintext
Raw Normal View History

2003-09-14 16:40:08 +05:30
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