Professional Documents
Culture Documents
A Tutorial
June 5, 2012
Why AWK ?
Write a program to print the sum of fields in a each line of a data file
Write a program to print the fields in each line in the reverse manner.
AWK Functions
getline;
Index (p, q) Returns the position of q in p (If no find, returns 0) length (str) returns the length of str split (str, arr [, fs]) splits str based on field separator fs and stores in arr tolower (str) converts str to lower case toupper (str) converts str to upper case Sub(reg_exp,
Thank You
www.infotech-enterprises.com