busybox/testsuite/sed/sed-regex-match-newline
2003-09-15 05:53:28 +00:00

11 lines
126 B
Plaintext

# 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