diff options
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/sed/sed-next-line | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/sed/sed-next-line b/testsuite/sed/sed-next-line new file mode 100644 index 000000000..38fe20cf2 --- /dev/null +++ b/testsuite/sed/sed-next-line | |||
@@ -0,0 +1,12 @@ | |||
1 | busybox sed 'n;p'>output <<EOF | ||
2 | a | ||
3 | b | ||
4 | c | ||
5 | EOF | ||
6 | cmp -s output - <<EOF | ||
7 | a | ||
8 | b | ||
9 | b | ||
10 | c | ||
11 | c | ||
12 | EOF | ||