Published at LXer:
Awk is a general-purpose scripting language designed for advanced text processing. It is mostly used as a reporting and analysis tool. Unlike most other programming languages that are procedural, awk is data-driven, which means that you define a set of actions to be performed against the input text. It takes the input data, transforms it, and sends the result to standard output. This article covers the essentials of the awk programming language. Knowing the basics of awk will greatly improve your ability to manipulate text files on the command line.
Read More...