Test for use of newline in regex's, this feature is used by most

configure scripts.
This commit is contained in:
Glenn L McGrath 2003-09-15 05:53:28 +00:00
parent 73116311e5
commit 7b35121297

View File

@ -0,0 +1,10 @@
# FEATURE: CONFIG_FEATURE_SED_EMBEDED_NEWLINE
busybox sed -n 'N;/a\nb/p'>output <<EOF
a
b
c
EOF
cmp -s output - <<EOF
a
b
EOF