Re: Contest
- Posted by Jason Gade <jaygade at yahoo.com> Oct 28, 2004
- 539 views
Since I'm at work and I don't have Euphoria here, I've been playing with the test file and UNIX command line tools. Using 'tr', 'wc', 'sort', and 'uniq' I get the following totals: 29555 words 4793 unique Derek's: 29550 words 4794 unique I can account for the difference in total words by counting very-long-words-that-have-hyphens and words that begin or end with a hyphen. I don't know how to account for the 1 off discrepancy in unique words, though. I would expect it to be at least 3 to 4 higher instead of 1 less.