diff options
author | Glenn L McGrath | 2003-09-15 05:35:47 +0000 |
---|---|---|
committer | Glenn L McGrath | 2003-09-15 05:35:47 +0000 |
commit | 65f9dc01f35aac8ee3ee44b8369a30b118fafef9 (patch) | |
tree | eda1929183f7d8052b62710869b43770826ba4e1 /testsuite/sed/sed-append-next-line | |
parent | 640c1f547f49a574342306578852bdfe42b32542 (diff) | |
download | busybox-65f9dc01f35aac8ee3ee44b8369a30b118fafef9.zip busybox-65f9dc01f35aac8ee3ee44b8369a30b118fafef9.tar.gz |
Test the N command
Diffstat (limited to 'testsuite/sed/sed-append-next-line')
-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 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 |