summaryrefslogtreecommitdiffhomepage
path: root/testsuite/sed/sed-append-next-line
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-09-15 05:35:47 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-09-15 05:35:47 +0000
commit65f9dc01f35aac8ee3ee44b8369a30b118fafef9 (patch)
treeeda1929183f7d8052b62710869b43770826ba4e1 /testsuite/sed/sed-append-next-line
parent640c1f547f49a574342306578852bdfe42b32542 (diff)
Test the N command
Diffstat (limited to 'testsuite/sed/sed-append-next-line')
-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