[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: sort



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Cesar Covarrubias wrote:
> As a follow up, you can use the following command and not get rid of the
> titles (name, age, income):
> 
> cat test | awk '{print $2}' | sort -n

although of course that is worthy of the traditional 'spurious cat award' :)
surely this
awk '{print $2}' test | sort -n
does exactly the same thing?


:)

Regards

Stuart

- --
Stuart Sears RHCA RHCX
Quit worrying about your health.  It'll go away.
		-- Robert Orben
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFElcFkamPtx1brPQ4RAol4AJ9JNbjSS1YNQ/uNFP8rDKR/Kt0MngCdE/CQ
O3/rY8qn3YTMxV7Y1Vt2VjY=
=eEBs
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]