sed-regex-match-newline 126 B

12345678910
  1. # FEATURE: CONFIG_FEATURE_SED_EMBEDED_NEWLINE
  2. busybox sed -n 'N;/a\nb/p'>output <<EOF
  3. a
  4. b
  5. c
  6. EOF
  7. cmp -s output - <<EOF
  8. a
  9. b
  10. EOF