awk: Find and Replace text

On August 28, 2009, in awk, find, replace, Text, by Dipin Krishna

Syntax awk <options> ‘Program’ Input-File1 Input-File2 … awk -f PROGRAM-FILE <options> Input-File1 Input-File2 … If no Input-File is specified then `awk’ applies the Program to “standard input”, (piped output of some other command or the terminal. Typed input will continue until end-of-file (typing `Control-d’) Basic functions The basic function of awk is to search files […]

 

Search