I am redirecting
grep results to a file, and then using
cat to show its contents on the screen. I want to know how many lines of results I have in my results file and then add it to some counter.
What will be the best way? Any relevant flag to