diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-09-15 05:35:47 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-09-15 05:35:47 +0000 |
commit | 65f9dc01f35aac8ee3ee44b8369a30b118fafef9 (patch) | |
tree | eda1929183f7d8052b62710869b43770826ba4e1 | |
parent | 640c1f547f49a574342306578852bdfe42b32542 (diff) | |
download | busybox-w32-65f9dc01f35aac8ee3ee44b8369a30b118fafef9.tar.gz busybox-w32-65f9dc01f35aac8ee3ee44b8369a30b118fafef9.tar.bz2 busybox-w32-65f9dc01f35aac8ee3ee44b8369a30b118fafef9.zip |
Test the N command
-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 | ||