AWK was initially developed in 1977 by Alfred Aho , Peter J Wienberger
and Brian Kernighan. And hence the name(AWK) derived from
their respective initials.
AWK was designed basically for text processing and used mostly for
extraction and manipulation of data.
For more info : visit here
Lets start with the examples.
1. Print Specific Column from a file
sample file created
awk '{print $1 " " $3}' abc.txt
awk '{print $1 " " $3}' abc.txt
2. Print all data from a table
awk '{print $0}' abc.txt
Comments
Post a Comment