summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath2003-09-15 05:35:47 +0000
committerGlenn L McGrath2003-09-15 05:35:47 +0000
commit65f9dc01f35aac8ee3ee44b8369a30b118fafef9 (patch)
treeeda1929183f7d8052b62710869b43770826ba4e1
parent640c1f547f49a574342306578852bdfe42b32542 (diff)
downloadbusybox-65f9dc01f35aac8ee3ee44b8369a30b118fafef9.zip
busybox-65f9dc01f35aac8ee3ee44b8369a30b118fafef9.tar.gz
Test the N command
-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 0000000..380b793
--- /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