projects
/
oweals
/
busybox.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Check sed doesnt go into an infinite loop (yes it does)
[oweals/busybox.git]
/
testsuite
/
sed
/
sed-handles-unsatisfied-backrefs
1
busybox sed -e 's/.*root=/\1/' >output <<EOF
2
BOOT_IMAGE=vmlinuz root=/dev/hda5 initrd=init1
3
EOF
4
cmp -s output - <<EOF
5
/dev/hda5 initrd=init1
6
EOF