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

Awk Tips, Tricks and Pitfalls

Up
vote
Down

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:8642 | -pkrumins, October 24, 2008
More Programming articles...

Fine Art Online Gallery

Selected articles

Testing the Digital Ocean $5 Cloud Servers with an MMORPG

Microsoft to push unlicensed users to Linux

Space Tyrant: Multithreading lessons learned on SMP hardware

Space Tyrant: A threaded game server project in C

Hacker Haiku

Why software sucks

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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