AWK · Lesson 9
BEGIN and END, NR, FNR, FILENAME and multiple files
Print headers in BEGIN and totals in END, tell records apart across files with NR, FNR and FILENAME, and join two files with the NR == FNR idiom.
Lessons · AWK · Lesson 9 of 10
BEGIN and END, NR, FNR, FILENAME and multiple files
Print headers in BEGIN and totals in END, tell records apart across files with NR, FNR and FILENAME, and join two files with the NR == FNR idiom.

