for i in `ls`; do wc $i; done

or some variation there of ? there is probably a better way :-/

On 11/01/2005, at 7:14 PM, John Rye wrote:


Mental blockage!!

Lots of googling hasn't helped much.

Could someone show me how to count the total number of words in a group of
files which are located in the same directory?


Cheers

John



Reply via email to