| Saturday July 26th 2014

Feedburner

Subscribe by email:

We promise not to spam/sell you.


Search Amazon deals:

/usr/dict/words would fail a spelling bee


tux x-raySince it’s Solaris, they’ll fix this by installing BSD and GNU versions of words somewhere, and we will all have to write branches into our scripts to check for the presence of /opt/sfw/dict/gwords before we can ggrep it.

That way, then can leave all the spelling errors in the Solaris version for backward compatibility. Because it’s not System V UNIX if it doesn’t have a “kaleidescope”

To kick things off /usr/dict/words has two spellings for sarsaparilla; the latter is incorrect:

$ grep parilla /usr/dict/words
	sarsaparilla
	sarsparilla

… and two spellings for kaleidoscope; the former is incorrect:

$ grep kaleid /usr/dict/words
	kaleidescope
	kaleidoscope

… and two spellings for desiccate, *neither* of them correct:

$ grep sicate /usr/dict/words
	desicate
	dessicate

… then there’s installment:

$ grep installment /usr/dict/words
	$ grep instalment /usr/dict/words
	instalment

… and finally, troubadour is botched:

$ grep trouba /usr/dict/words
	troubador

Source

Related Posts: On this day...

Leave a Reply

You must be logged in to post a comment.