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

Buy Abstract Art Prints

Selected articles

Testing the Digital Ocean $5 Cloud Servers with an MMORPG

MiniLesson: An introduction to Linux in ten commands

Closed Source Linux Distribution Launched

The Supreme Court is wrong on Copyright Case

Download: Linux 3D Client for Starship Traders

The short life and hard times of a Linux virus

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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