A test and fix for the sed 'n' command

This commit is contained in:
Glenn L McGrath
2003-09-15 06:12:53 +00:00
parent 7b35121297
commit 6e5687abc3
2 changed files with 20 additions and 0 deletions

View File

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