Skip to content

Instantly share code, notes, and snippets.

@sic2
Created April 8, 2018 11:01
Show Gist options
  • Save sic2/b940de2e5cc2c3f83663d92de8d71bc0 to your computer and use it in GitHub Desktop.
Save sic2/b940de2e5cc2c3f83663d92de8d71bc0 to your computer and use it in GitHub Desktop.
Script to check commonly misused word, typos, or stuff that you want to keep under control in your files
# Requires the silver searcher - https://github.com/ggreer/the_silver_searcher
# Leave empty line at the end
while IFS= read -r line; do
echo '-------------------------'
echo "Checking for word(s): $line"
ag -i "$line" chapters/
done < valid_words.txt
Multicloud
WorPres
consists in
consist in
\\ref{
\\cite{
\\nameref{
,:
;:
anymore
color
colors
can't
don't
isn't
aren't
couldn't
shouldn't
pseudo-Java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment