Search notes:

awk example: number of record ($NR)

awk '{print "Record",NR ": " $1,$2}' data_1 data_2
Github repository about-awk, path: /NR_number_of_record/go.sh
one foo
two baz
three bar
Github repository about-awk, path: /NR_number_of_record/data_1
house
car
spoon
Github repository about-awk, path: /NR_number_of_record/data_2

See also

awk examples

Index