[Techtalk] real life kewl text-processing and regexps samples wanted

Aaron Malone aaron at munge.net
Fri Jan 9 19:30:58 EST 2004


On Friday 09 January 2004 18:03, Carla Schroder wrote:
> So let's have 'em, and don't be shy.

One I find myself using quite a bit:

|awk '{t+=$1}END{print t}'

Prints the total of numbers in column 1.  Useful for things like the 
output of du(1).
-- 
Aaron Malone
aaron at munge.net



More information about the Techtalk mailing list