I need a very simple job done. Description:
- a flat text file containing up to some 100,000 dictionary words, each one on a new line
- a limitless number of character combinations of any length, for example 't', 'kg', 'usa', etc
- one custom character, for example '.', '-', ':'
- the program runs through the text file and finds the words that end in one of the character combinations mentioned above
- when such words are found, it places the "custom character", for example comma (',') in just before the character combination searched for. For example: the word found is states, the character combination is 'tes', the result would be "sta,tes"
- For each different set of "chopped up words" (such as "sta,tes"), a new file is made where each line contains one word. Each of the files pertains to one particular character combination. For example, there should be an output file [url removed, login to view], [url removed, login to view], [url removed, login to view], [url removed, login to view], etc
The language is irrelevant, as is the speed. No GUI is needed as long as some form of documentation is provided.