fork download
  1. {total= total + NF;}
  2. END {print "Fields: ", total;
  3. print "Rows: ", NR;}
Success #stdin #stdout 0s 5288KB
stdin
If you
have
a hammer, everything
looks like a nail
stdout
Fields:  10
Rows:  4