I am writing an AWK script which takes a list of dates and formats it into an easier to read list. I was able to do that no problem.
The real problem is this. After displaying the list, I want to display how many times “2010” appears in the text file.
How do I do this? I’ve been searching for days and I’ve come up with absolutely nothing.
1 Answer