On Tuesday 6 May 2008, 10:39, Neil Bothwick wrote:
> 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.Ah sure. I just wanted to explain what the commands do, and didn't even try to make corrections. > Longer isn't always better ;-) But it produces better obfuscated code! :-) -- [email protected] mailing list

