Introduction to AWK

What is AWK ?

  1. AWK is an Interpreted Programming Language
  2. AWK is designed for text processing
  3. AWK is used for data extraction.
  4. AWK is used as reporting tool.
  5. AWK is a pattern scanning and processing language

AWK History :

Derivation of Name Derived from the names of Developers
Developwers of AWK Aho-Weinberger and Kernighan
Developed in Year 1970
Developed in Lab Bell Lab
Computing Environments 1) Windows
2) MS-DOS
3) OS/2
4) BeOS
5) Virtual Memory System (VMS)

Data Driven or Procedure Driven Language ?

Procedural languages such as C/C++ are written using the simple chunks of the procedure. They are not useful when we need to describe of the repeated data.

AWK is used as filter programming language. It is used to get information and process data using simple AWK commands.