busybox/testsuite/sed/sed-handles-unsatisfied-backrefs

7 lines
145 B
Plaintext
Raw Normal View History

2001-10-31 04:41:20 +05:30
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