Ugly collapsing code:
sed -n '/^processor/,/^$/{/^$/q; p}' /proc/cpuinfo ; foo=$(sed
'/^processor/,/^$/d' /proc/cpuinfo); if [ -n "$foo" ]; then echo -e
"\n$foo"; fi
Prettying that into one line of sed or awk shouldn't technically be
hard, but not my top priority today. :P
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1673557
Title:
/proc/cpuinfo should be collected
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1673557/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs