Skip to content

Commit

Permalink
Use gsed for spellchecking on macOS; ignore inline ‘replys’ spell check
Browse files Browse the repository at this point in the history
  • Loading branch information
dakcarto committed Apr 29, 2017
1 parent 2c4b3bb commit b3e1aba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/spell_check/check_spelling.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ shift $(expr $OPTIND - 1)

if [ $# -ne 0 ]; then
EXCLUDE=$(${GP}sed -e 's/\s*#.*$//' -e '/^\s*$/d' $AGIGNORE | tr '\n' '|' | ${GP}sed -e 's/|$//')
INPUTFILES=$(echo $@ | tr -s '[[:blank:]]' '\n' | egrep -iv "$EXCLUDE" | tr '\n' ' ' )
INPUTFILES=$(echo $@ | tr -s '[[:blank:]]' '\n' | ${GP}egrep -iv "$EXCLUDE" | tr '\n' ' ' )
if [[ -z $INPUTFILES ]]; then
exit 0
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/spell_check/spelling.dat
Original file line number Diff line number Diff line change
Expand Up @@ -5831,7 +5831,7 @@ repetions:repetitions
repid:rapid
replacable:replaceable
replacments:replacements
replys:replies
replys:replies:*
reponse:response
reponses:responses
reponsibilities:responsibilities
Expand Down

0 comments on commit b3e1aba

Please sign in to comment.