busybox/testsuite/sed/sed-regex-match-newline

11 lines
126 B
Plaintext
Raw Normal View History

# 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