Skip to content

Commit 0bbd601

Browse files
author
Matt McNeeney
committed
make verify-tables more friendly
1 parent 5a5e2c1 commit 0bbd601

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/verify-tables.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,17 @@ function checkForPunc() {
101101
continue
102102
fi
103103

104-
# Anything less than 4 words we ignore
104+
# Anything less than 5 words we ignore
105105
count=$(echo "$col" | sed "s/(.*)//g" | sed "s/\[.*\]//g" | wc -w)
106-
if (( "$count" < 4 )); then
106+
if (( "$count" < 5 )); then
107107
continue
108108
fi
109109

110110
if [[ "$col" == *". " || "$col" == *"? " ]]; then
111111
continue
112112
fi
113113

114-
echo "$file - $1: column $colNum has more than 3 words and doesn't end with a '. |' or '? |' - watch for extra/missing spaces."
114+
echo "$file - $1: column $colNum has more than 4 words and doesn't end with a '. |' or '? |' - watch for extra/missing spaces."
115115

116116
done
117117
}

0 commit comments

Comments
 (0)