diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-09-15 05:35:47 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-09-15 05:35:47 +0000 |
commit | 33f3cd01fb0c72290a44b59a671437ed03b5d814 (patch) | |
tree | eda1929183f7d8052b62710869b43770826ba4e1 | |
parent | 2ce5c3c19090a754048b77434a58d58259f35e7c (diff) | |
download | busybox-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-line | 9 |
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 @@ | |||
1 | busybox sed -n 'N;p'>output <<EOF | ||
2 | a | ||
3 | b | ||
4 | c | ||
5 | EOF | ||
6 | cmp -s output - <<EOF | ||
7 | a | ||
8 | b | ||
9 | EOF | ||