From aa28f909672773573c0e3a043d10f9de29c12387 Mon Sep 17 00:00:00 2001 From: Pregmodder <pregmodder@gmail.com> Date: Sat, 26 May 2018 20:39:21 -0400 Subject: [PATCH] sanityCheck update --- sanityCheck | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sanityCheck b/sanityCheck index eaf44496fcf..9945eb4e653 100755 --- a/sanityCheck +++ b/sanityCheck @@ -77,7 +77,7 @@ $GREP -e "<<[a-zA-Z]\([^>\"]\|[^>]>[^>]\|\"[^\"]*\"\)* [a-zA-Z]\+ * =" -- src/*. # Check for missing command, e.g. <<foo = $GREP -e "<<[a-zA-Z]* = *" -- src/*.tw | myprint "BadCommand" # Check for duplicate words, e.g. with with -$GREP -e " \(\b[a-zA-Z][a-zA-Z]\+\) \1\b " --and --not -e " her her " --and --not -e " you you " --and --not -e " New New " --and --not -e " that that " --and --not -e " in in " --and --not -e " is is " -- 'src/*' | myprint "Duplicate words" +$GREP -e " \(\b[a-zA-Z][a-zA-Z]\+\) \1\b " --and --not -e " her her " --and --not -e " you you " --and --not -e " New New " --and --not -e "Slave Slave " --and --not -e " that that " --and --not -e " in in " --and --not -e " is is " -- 'src/*' | myprint "Duplicate words" # Check for obsolete SugarCube macros $GREP -E "<<display |<<click|<<.*\.contains" -- src/*.tw | myprint "ObsoleteMacro" # Check for double articles -- GitLab