Skip to content

Instantly share code, notes, and snippets.

@jordelver
Last active November 6, 2024 20:59
Show Gist options
  • Select an option

  • Save jordelver/5617879 to your computer and use it in GitHub Desktop.

Select an option

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