busybox/testsuite/sed/sed-handles-unsatisfied-backrefs
2001-10-30 23:11:20 +00:00

7 lines
145 B
Plaintext

busybox sed -e 's/.*root=/\1/' >output <<EOF
BOOT_IMAGE=vmlinuz root=/dev/hda5 initrd=init1
EOF
cmp -s output - <<EOF
/dev/hda5 initrd=init1
EOF