aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-09-15 05:35:47 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-09-15 05:35:47 +0000
commit33f3cd01fb0c72290a44b59a671437ed03b5d814 (patch)
treeeda1929183f7d8052b62710869b43770826ba4e1
parent2ce5c3c19090a754048b77434a58d58259f35e7c (diff)
downloadbusybox-w32-33f3cd01fb0c72290a44b59a671437ed03b5d814.tar.gz
busybox-w32-33f3cd01fb0c72290a44b59a671437ed03b5d814.tar.bz2
busybox-w32-33f3cd01fb0c72290a44b59a671437ed03b5d814.zip
Test the N command
git-svn-id: svn://busybox.net/trunk/busybox@7517 69ca8d6d-28ef-0310-b511-8ec308f3f277
-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 @@
1busybox sed -n 'N;p'>output <<EOF
2a
3b
4c
5EOF
6cmp -s output - <<EOF
7a
8b
9EOF