aboutsummaryrefslogtreecommitdiff
path: root/testsuite/sed
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/sed')
-rw-r--r--testsuite/sed/sed-append-next-line9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/sed/sed-append-next-line b/testsuite/sed/sed-append-next-line
new file mode 100644
index 000000000..380b7935d
--- /dev/null
+++ b/testsuite/sed/sed-append-next-line
@@ -0,0 +1,9 @@
+busybox sed -n 'N;p'>output <<EOF
+a
+b
+c
+EOF
+cmp -s output - <<EOF
+a
+b
+EOF