Skip to content

Instantly share code, notes, and snippets.

@abelmartin
Forked from jordelver/gist:5617879
Created December 19, 2017 05:36
Show Gist options
  • Save abelmartin/e90f80c60fa7e1bd5e36174fbb651cb6 to your computer and use it in GitHub Desktop.
Save abelmartin/e90f80c60fa7e1bd5e36174fbb651cb6 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