> > I need a program to count the occurrence of each separate word in a > > document. Using the right tool (tcl, python) this should be a one-banana trick. Even in plain C (using hashing) it should not be that difficult, provided that the total number of different words is not too large (let's say less than 100k). Wouter -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics