Using awk

Awk (and Gawk, the GNU alternative) are as old as the hills (well, as old as Unix) and remain as one of the original programmable elements of the Unix operating system, along with the various shells (Bourne shell, Korn shell and C shell, in the original Unix editions).

read more