Linux Today: Linux News On Internet Time.
Search Linux Today
search.internet.com
Linux News Sections:  Blog -  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Preferences
Contribute
Link to Us
Search
Linux Jobs

Become a Marketplace Partner

internet.commerce
Be a Commerce Partner














The Linux Channel at internet.com
Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Subscribe News
Subscribe PR
Subscribe Security

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

 







Current Newswire:

Check Out Open Source Library and Collections Management Software

Kernel Log: progress with free graphics drivers, three new stable kernels

Kdenlive: A Video Editor in the Spotlight

Mono outpaces Java in Linux desktop development

Write Your Own Linux Twitter Client In Less Time Than It Takes To Find One!

5 Simple APT Tips for Debian and Ubuntu, Part II

Go Google Chrome OS! Just don't go too fast, too far

MySQL: Five More Dials To Turn

Why IE Doesn't Support HTML 5 Video (Yet) - Patents

And Now Google Wants My Netbook Too




Sr Solaris Engineer
The Computer Merchant, Ltd
US-VA-Arlington

Justtechjobs.com Post A Job | Post A Resume
:Convoluted Column Arithmetic Examples Using Awk On Linux Or Unix
Convoluted Column Arithmetic Examples Using Awk On Linux Or Unix
Nov 21, 2008, 06 :33 UTC (0 Talkback[s]) (2195 reads)

(Other stories by Mike Tremell)

[ Thanks to Mike Golvach for this link. ]

"The basic premise here is that you, I and the next guy have all seen the solution to many a question like: "Given a file filled with rows of space delimited numbers, how do I add up all the values for field 2 ($2) in awk so that I can get the total when awk is through processing my file?" ...or something to that effect. Knowing the fundamentals of performing arithmetic in awk can be a great asset to you at work (or, at play, if you like to add, subtract, multiply and divide for kicks ;), but, for the most part, only the most banal instances of its application are either used or queried for on the web (at least as far as my search engine testing has shown so far)."

Complete Story

Related Stories:
Bash Cable, Dish and Local TV Listings Script For Linux Or Unix(Nov 20, 2008)
Bash One-Liner Script To Produce Somewhat-Fancy Output Of Who's Logged In(Nov 19, 2008)
Fake Unix and Linux Advisory - The /dev/null Vulnerability(Nov 17, 2008)
Basic Veritas Cluster Server Troubleshooting(Nov 16, 2008)
XKCD - Linux, Unix And Other Funny Cartoons(Nov 16, 2008)
Getting CPU Information From Various Flavours Of Linux And Unix(Nov 14, 2008)
Broad Usage Of ipcs And ipcrm On Linux And Unix(Nov 13, 2008)



No talkbacks posted.
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!






..............................




All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP