hush/testsuite/sed/sed-branch-conditional

16 lines
102 B
Plaintext
Raw Normal View History

2003-09-14 11:10:08 +00:00
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