Search notes:

awk example: number of fields in record ($NF)

awk '{print NF " field(s): " $0}' data
Github repository about-awk, path: /NF_number_of_fields_in_record/go.sh
one foo
two
three bar baz
Github repository about-awk, path: /NF_number_of_fields_in_record/data

See also

awk examples

Index