summaryrefslogtreecommitdiff
path: root/testsuite/sed/sed-regex-match-newline
blob: 1057e1718ecc009359de769c3e05d93a302f4234 (plain)
1
2
3
4
5
6
7
8
9
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