busybox/testsuite/sed/sed-append-next-line-gnu

15 lines
126 B
Plaintext
Raw Normal View History

# FEATURE: CONFIG_FEATURE_SED_GNU_COMPATABILITY
busybox sed 'N;p'>output <<EOF
a
b
c
EOF
cmp -s output - <<EOF
a
b
a
b
c
EOF