mirror of https://github.com/mirror/busybox.git
Test for use of newline in regex's, this feature is used by most
configure scripts.1_00_stable_10817
parent
73116311e5
commit
7b35121297
|
@ -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