Add a test for the 'P' command and fix current implementation so it
[oweals/busybox.git] / testsuite / sed / sed-branch-conditional
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