Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Awk Tips, Tricks and Pitfalls


This article covers 10 Awk programming language tips, tricks and pitfalls:

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
 read more | score:8534 | -pkrumins, October 24, 2008
More Programming articles...

Abstract Art by Ray Yeargin

coding headlines

No Starch Press has published my Perl One-Liners book!

OpenShift Online: a non-developer guide

Detailed Error Handling In Bash

Tutorial: Create an NFS-like Storage Server with GlusterFS on Ubuntu 12.10


Firefox sidebar

Site map

Site info

News feed


(to post)


Articles are owned by their authors.   © 2000-2012 Ray Yeargin