Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-09-15 09:35:47 +0400
committerGlenn L McGrath <bug1@ihug.co.nz>2003-09-15 09:35:47 +0400
commit65f9dc01f35aac8ee3ee44b8369a30b118fafef9 (patch)
treeeda1929183f7d8052b62710869b43770826ba4e1 /testsuite
parent640c1f547f49a574342306578852bdfe42b32542 (diff)
Test the N command
Diffstat (limited to 'testsuite')
-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 @@
+busybox sed -n 'N;p'>output <<EOF
+a
+b
+c
+EOF
+cmp -s output - <<EOF
+a
+b
+EOF