summaryrefslogtreecommitdiffhomepage
path: root/testsuite/sed/sed-handles-unsatisfied-backrefs
blob: 61bff88371acf2effb84b2ffb3d3bda06dbd8950 (plain)
1
2
3
4
5
6
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