Skip to content

Instantly share code, notes, and snippets.

@jordelver
Last active December 19, 2017 05:36
Show Gist options
  • Save jordelver/5617879 to your computer and use it in GitHub Desktop.
Save jordelver/5617879 to your computer and use it in GitHub Desktop.
Spell check entire codebase

Spell check entire codebase

Requires aspell. Install using brew install aspell on Mac OS X.

From STDIN

cat *.txt | aspell -l EN-US --mode=tex list

Whole directory

for f in *.txt ; do echo $f ; aspell list < $f | sort | uniq -c ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment