// $Id: spellcheck.ici,v 1.0 2003/01/03 12:21:00 dada Exp $ // http://dada.perl.it/shootout // // contributed by Tim Long dict := set(); forall (w in gettokens(fopen("Usr.Dict.Words"), "\n", "")) dict[w] = 1; while (w = getline()) { if (!dict[w]) printf("%s\n", w); }