Print spelling errors Linux TR script

Print spelling errors Linux TR script

[sourcecode language=”bash”]

tr ‘A-Z’ ‘a-z’ < doc.txt | tr -cs ‘a-z’ ‘\n’ | sort | uniq | comm -23 -/usr/share/dict/words

[/sourcecode]

Leave a comment