|
| |
:10 Awk Tips, Tricks and Pitfalls
10 Awk Tips, Tricks and Pitfalls
Oct 24, 2008, 14 :33 UTC (0 Talkback[s]) (3922 reads) |
"* 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:
Break Bad UNIX Habits With 10 Good Ones(Aug 03, 2008)
Intro to Awk, the Great Language with a Strange Name(Jul 16, 2008)
Double Spacing In Awk, Perl and Shell on Linux and Unix(Jul 09, 2008)
Simple Arithmetic In Bash, Perl and Awk--More Porting(May 29, 2008)
Linux Journal: An Introduction to awk(Mar 10, 2006)
Linux.com: Turbocharged awk(Feb 24, 2006)
|