On 2005-07-08, Jack <junw2000.TakeThisOut@gmail.com> wrote:
> Is there a command to do it? I tried "wc -w file.ps". It did not work.
>
> Thanks a lot.
>
Not the best solution, however, use ps2ascii ( if should be on you distro),
then use wc -w
for example:
ps2ascii file.ps file.txt; wc file.txt; rm file.txt
Not really great....but in a pinch.
Have to tell you, ps2ascii is just a script using the gs program to convert.
It's a touch buggy on my machine, you may have to alter the options in the
script....
Like I said, not necessarily the best solution.
ken