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


Click here to return to the 'Build a service to count characters, words and paragraphs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Build a service to count characters, words and paragraphs
Authored by: TvE on May 19, '12 10:28:37AM

What's wrong with "sort -u" to get the unique words and then "wc" to count the actual number - should that not work (once you have each word on a seperate line).

Or have I misunderstood the goal?



[ Reply to This | # ]
Build a service to count characters, words and paragraphs
Authored by: murgatroyd on May 19, '12 04:07:38PM

Thanks for the quick-thought response but you misunderstood the goal.

---
Someday, Murgatroyd will live !



[ Reply to This | # ]
Build a service to count characters, words and paragraphs
Authored by: murgatroyd on May 19, '12 04:13:32PM

I am of the belief an AppleScript array was unable hold more than (512 X 8) 4,096 unique numbers. Any larger number of unique words in any tome crashes any AppleScript. It's a software bug with arrays.

---
Someday, Murgatroyd will live !



[ Reply to This | # ]