From b3e1aba1cdc7b9398ceab0443984736c0cebd6ea Mon Sep 17 00:00:00 2001 From: Larry Shaffer Date: Sat, 29 Apr 2017 09:07:24 +0200 Subject: [PATCH] =?UTF-8?q?Use=20gsed=20for=20spellchecking=20on=20macOS;?= =?UTF-8?q?=20ignore=20inline=20=E2=80=98replys=E2=80=99=20spell=20check?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/spell_check/check_spelling.sh | 2 +- scripts/spell_check/spelling.dat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/spell_check/check_spelling.sh b/scripts/spell_check/check_spelling.sh index fc2549ffabb..0ec6c7660b2 100755 --- a/scripts/spell_check/check_spelling.sh +++ b/scripts/spell_check/check_spelling.sh @@ -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 diff --git a/scripts/spell_check/spelling.dat b/scripts/spell_check/spelling.dat index f369b2aa3cc..29d55b16e8d 100644 --- a/scripts/spell_check/spelling.dat +++ b/scripts/spell_check/spelling.dat @@ -5831,7 +5831,7 @@ repetions:repetitions repid:rapid replacable:replaceable replacments:replacements -replys:replies +replys:replies:* reponse:response reponses:responses reponsibilities:responsibilities