sed replacement list 

{see script}

concerns: OCR, spell check, ispell,

Usage: script.sh [-l] <file>

script.sh appends to repl.txt; for a new list remove the file of rename it.

-l lang_code

language code. Same format of the LANG environmental variable on most systems (see aspell for further information)

-m <min>

set minimal occurrence of a mistake to <min>

Creates a replacement table to be used with sed. script.sh will prompt for each misspelled word and ask for a replacement. It then writes the replacements to the file 'repl.txt' to be used with sed. (sed -f repl.txt <file>

(NB: Ignore the highlighted text within words; only whole words will be replaced when using sed unless repl.txt is edited)