On Wed, 8 Sep 2004, Jeremy Muhlich wrote:
On Wed, 2004-09-08 at 15:43, Chris Devers wrote:
Looking back at my /usr/share/dict/words, the singular
form of the word doesn't show up
I find that kind of hard to believe...
That was a think-o -- the singular is there, the plural isn't.
What unix are you running?
OSX.
Anyway, here's my submission (I initially envisioned some xargs/grep
stuff at the end but the sort/uniq is certainly much faster):
grep 'ss$' /usr/share/dict/words | sed -e s/ss// | \
cat - /usr/share/dict/words | sort | uniq -c | grep ' 2'
For me (using OSX) this returns 179 hits, one of which is the answer.
--
Chris Devers
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm