Gitiles
Code Review
Sign In
gerrit.nordix.org
/
codeaurora
/
busybox
/
1c275de6a2b332d49355d02d3d8650aea33f1b87
/
.
/
testsuite
/
sed
/
sed-branch-conditional
blob: 47d0a5ff2526972c5d247bba9dc3ec881bf7e8ef [
file
] [
log
] [
blame
]
Glenn L McGrath
7bf8f5b
2003-09-14 11:10:08 +0000
[
diff
] [
blame
]
1
busybox sed
's/a/1/;t one;p;: one;p'
>
output
<<
EOF
2
a
3
b
4
c
5
EOF
6
cmp
-
s output
-
<<
EOF
7
1
8
1
9
b
10
b
11
b
12
c
13
c
14
c
15
EOF