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

Partner Sites
JustLinux.com
Linux Planet
PHPBuilder
Technology Jobs

Top White Papers

  • How to evaluate and implement a cost effective outsourcing model for your database infrastructure that reduces your risks, provides operational efficiency...
    Download

  • This buyers guide provides independent research and test results to help you determine your endpoint protection requirements and identify the security...
    Download

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: