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


Top White Papers

More on LinuxToday


10 Awk Tips, Tricks and Pitfalls

Oct 24, 2008, 14:33 (0 Talkback[s])

"* 1. Be idiomatic!
* 2. Pitfall: shorten pipelines
* 3. Print lines using ranges
* 4. Split file on patterns
* 5. Locale-based pitfalls
* 6. Parse CSV
* 7. Pitfall: validate an IPv4 address
* 8. Check whether two files contain the same data
* 9. Pitfall: contexts and variable types in awk
* 10. Pulling out things"

Complete Story

Related Stories: