Test for use of newline in regex's, this feature is used by most
configure scripts.
This commit is contained in:
10
testsuite/sed/sed-regex-match-newline
Normal file
10
testsuite/sed/sed-regex-match-newline
Normal 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
|
Reference in New Issue
Block a user