Skip to content

Instantly share code, notes, and snippets.

@donfanning
Forked from sic2/checker.sh
Created August 15, 2018 12:16
Show Gist options
  • Save donfanning/a2c7aeffa420acc463674e621f5febfc to your computer and use it in GitHub Desktop.
Save donfanning/a2c7aeffa420acc463674e621f5febfc 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