summaryrefslogtreecommitdiff
path: root/testsuite/sed/sed-branch-conditional-inverted
blob: f4df84b3e45259491b5520132d875e028dd8f13f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
busybox sed 's/a/1/;T notone;p;: notone;p'>output <<EOF
a
b
c
EOF
cmp -s output - <<EOF
1
1
1
b
b
c
c
EOF