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:
Glenn L McGrath
2003-09-16 05:25:43 +00:00
parent 204ff1cea4
commit 2570b43e82
5 changed files with 70 additions and 29 deletions

View 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