Tag Archives: awk print

awk print function in linux

Awk print function is a built-in function of awk, used for prints its arguments on the standard output (or on a file if > file or >> file is present or on a pipe if | cmd is present). Syntax … Continue reading

Posted in Awk Command, Text Processing | Tagged , , | Comments Off on awk print function in linux

awk NR FNR difference

Linux awk command can use variables NR and FNR to process multiple files. NR : ordinal number of the current record, multiple files self-increase FNR : ordinal number of the current record in the current file awk NR example Processing … Continue reading

Posted in Awk Command | Tagged , , , | 3 Comments