grep -o causes infinite loop
Bug #619817 reported by
Jonas Bonn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
busybox (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: initramfs-tools
Bringing up initramfs busybox shell and executing following command causes an infinite loop:
cat /proc/meminfo | grep MemTotal | grep -o "[0-9]*"
This is, of course, a problem if the same command is issued in a script. The culprit is the "-o" option on the last grep...
Related branches
affects: | initramfs-tools (Ubuntu) → busybox (Ubuntu) |
Changed in busybox (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
To post a comment you must log in.
...in Maverick, last checked August 18.