aboutsummaryrefslogtreecommitdiff
path: root/testsuite/sed/sed-branch
blob: 47d0a5ff2526972c5d247bba9dc3ec881bf7e8ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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