Results 1 to 2 of 2
Hello,
I will count words in a file (or more files) and count (if given up) empty files (test -z?), how can I do this? Like this:
There are "108" ...
- 03-14-2010 #1Just Joined!
- Join Date
- Mar 2010
- Posts
- 1
count words and empty files
Hello,
I will count words in a file (or more files) and count (if given up) empty files (test -z?), how can I do this? Like this:
There are "108" words in "3" files
There are "2" empty files
Thanks for your reaction.
Regards,
Arjan Engbers
(My English is not good, I hope you understand me)
- 03-14-2010 #2Linux User
- Join Date
- Jan 2007
- Location
- cleveland
- Posts
- 452
did you try "wc -w"?
the sun is new every day (heraclitus)


Reply With Quote