I've got a script that searches a simple text files line by line for a stated string, but I also wanted to search for "similar" strings. So, for example, if we had the following in list.txt
code:
frig
frag
brag
grand
train
and "frugle" was seached for, it would return, "did you mean: frig? frag?" or something similar.
any ideas how I'd go about it?