if you are interested to contribute your LAB PROGRAM Please send mail to jkumaron@gmail.com

Awk in Linux RHEL 5 AWK Variable FS NF OFS ORS Field separator bash script programming

Awk these Linux command name by the three personality by Aho, Kernighan, and Weinberger,awk it conations sequence of pattern statement and optional Definition. GNU project of awk is known as Gawk.awk it split record into the field. In these FS is the variable Fs is single variable character and that field is separate by that character. And if fs are each single character become separate field. NF in awk refers to the total no of the field. NR is the total no of input record. OFS output Filed separator. ORS output Record separator

Related post