hush/testsuite/sed/sed-handles-unsatisfied-backrefs

7 lines
145 B
Plaintext
Raw Normal View History

2001-10-30 23:11:20 +00:00
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