recursively count the words occurrence in the text files
Aaron Konstam
akonstam at sbcglobal.net
Thu Dec 30 22:20:36 UTC 2010
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.
--
=======================================================================
"Plaese porrf raed." -- Prof. Michael O'Longhlin, S.U.N.Y. Purchase
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam at sbcglobal.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: counts.py
Type: text/x-python
Size: 418 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20101230/82f15b7f/attachment.py
More information about the users
mailing list