Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Word Counter - Count words and characters in text' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Word Counter - Count words and characters in text
Authored by: kalderon on Nov 29, '05 05:35:13PM

To determine the word count of a PDF use ps2ascii together with wc like this:

ps2ascii myfile.pdf | wc -w

You can use this method to determine the word count of binary files such as Word documents by printing them as PDFs



[ Reply to This | # ]
Word Counter - Count words and characters in text
Authored by: GlowingApple on Nov 29, '05 09:14:52PM

Unfortunately it doesn't seem that this command comes standard in OS X. From some Googling it looks like it comes with some TeX or LaTeX package. Does anyone know where I could download this program separately, or at least which TeX package I need to get this program?

Thanks!

---
Jayson --When Microsoft asks you, "Where do you want to go today?" tell them "Apple."



[ Reply to This | # ]