On Tue, 6 May 2008 10:11:07 +0200, Etaoin Shrdlu wrote:
> cat /proc/cpuinfo|grep '^cpu MHz'|awk '{print $4"/30 +";}'
This uses three commands when one will do, there's no need for cat or grep
awk '/^cpu MHz/ {print $4"/30 +";}' /proc/cpuinfo
Similarly for the free command.
Longer isn't always better ;-)
--
Neil Bothwick
God: What one human uses to persecute another.
signature.asc
Description: PGP signature

