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

configure scripts.
1_00_stable_10817
Glenn L McGrath 2003-09-15 05:53:28 +00:00
parent 73116311e5
commit 7b35121297
1 changed files with 10 additions and 0 deletions

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