Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] Which openoffice
Date: Tue, 06 May 2008 08:40:06
Message-Id: 20080506093958.2ac34ba5@loonquawl.digimed.co.uk
In Reply to: Re: [gentoo-user] [OT] Which openoffice by Etaoin Shrdlu
1 On Tue, 6 May 2008 10:11:07 +0200, Etaoin Shrdlu wrote:
2
3 > cat /proc/cpuinfo|grep '^cpu MHz'|awk '{print $4"/30 +";}'
4
5 This uses three commands when one will do, there's no need for cat or grep
6
7 awk '/^cpu MHz/ {print $4"/30 +";}' /proc/cpuinfo
8
9 Similarly for the free command.
10
11 Longer isn't always better ;-)
12
13
14 --
15 Neil Bothwick
16
17 God: What one human uses to persecute another.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] [OT] Which openoffice Etaoin Shrdlu <shrdlu@×××××××××××××.org>