Test the N command

This commit is contained in:
Glenn L McGrath 2003-09-15 05:35:47 +00:00
parent 640c1f547f
commit 65f9dc01f3

View File

@ -0,0 +1,9 @@
busybox sed -n 'N;p'>output <<EOF
a
b
c
EOF
cmp -s output - <<EOF
a
b
EOF