On 12/30/2010 02:20 PM, Aaron Konstam wrote:
On Thu, 2010-12-30 at 10:34 -0800, S Mathias wrote:
I just can't google for it:
I'm searching for a "bash" "one liner" (awk, perl, or anything) for this:
Attached is a python program that counts the number of words in a file. This could easily be slightly altered and combined with find to do what you want.
Or, if you don't want to reinvent the wheel, you can just use the standard Unix program, wc.