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...  What unix are you running? 
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'

That returned 10 words from Fedora Core 2's version of words, and the
answer was readily apparent.

I also noticed bras->brass, a (weak) example of the converse
transformation.  :)


 -- Jeremy

_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to