What is the use of FNR?
Answer / Arya Vardhman Priyadrshi
FNR (File Number Record) in Awk represents the number of records read from the current input file. It can be used for conditional statements to perform specific actions depending on the total number of records in a file.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of string function substr(string,position) in AWK?
What is the use of sequence f?
What is the use of string function substr(string,position,max) in AWK?
What is the use of string function gensub(r,s,h [,t])?
What is the use of string function sub(regex,replacement)?
What is the use of sequence <Any other character> ?
What is the use of format specifier %o ?
What is the use of string function strtonum(string)?
Write a command to find the sum of bytes (size of file) of all files in a directory?
What is the Basic Structure of AWK program?
What is the use of numeric function log ?
What is OFS in AWK?