Is there a way to get awk to return the number of fields that meet a field-separator criteria? Say, for instance, the file contains:
awk
a b c d
So, awk -F=' ' | <something> should return 4.
awk -F=' ' | <something>