A quick one-liner for counting the number of characters in a given field for each line in an ASCII file.
for i in `cat source.txt`; do echo $i | awk {'print length($1)}' >> counts.txt
Principal Software Engineer/Architect, motorcyclist, drummer, and artist
A quick one-liner for counting the number of characters in a given field for each line in an ASCII file.
for i in `cat source.txt`; do echo $i | awk {'print length($1)}' >> counts.txt