mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
Test for use of newline in regex's, this feature is used by most
configure scripts.
This commit is contained in:
parent
73116311e5
commit
7b35121297
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
|
Loading…
Reference in New Issue
Block a user