Configuration option to define wether to follows GNU sed's behaviour
or the posix standard. Put the cleanup code back the way it was.
This commit is contained in:
14
testsuite/sed/sed-append-next-line-gnu
Normal file
14
testsuite/sed/sed-append-next-line-gnu
Normal file
@@ -0,0 +1,14 @@
|
||||
# FEATURE: CONFIG_FEATURE_SED_GNU_COMPATABILITY
|
||||
busybox sed 'N;p'>output <<EOF
|
||||
a
|
||||
b
|
||||
c
|
||||
EOF
|
||||
cmp -s output - <<EOF
|
||||
a
|
||||
b
|
||||
a
|
||||
b
|
||||
c
|
||||
|
||||
EOF
|
Reference in New Issue
Block a user