summaryrefslogtreecommitdiffhomepage
path: root/testsuite/sed/sed-next-line
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/sed/sed-next-line')
-rw-r--r--testsuite/sed/sed-next-line12
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 @@
+busybox sed 'n;p'>output <<EOF
+a
+b
+c
+EOF
+cmp -s output - <<EOF
+a
+b
+b
+c
+c
+EOF