File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -82,12 +82,12 @@ grep -n "&[ 0-9a-z_]\+) = delete" $texfiles && exit 1
82
82
# Bad characters in label. "-" is allowed due to a single remaining offender.
83
83
grep -n ' ^\\rSec.\[[^]]*[^-a-z.0-9][^]]*\]{' $texfiles | sed ' s/$/ <--- bad character in label/' | grep . && exit 1
84
84
85
- # "shall" inside a note
85
+ # "shall", "may", or "should" inside a note
86
86
for f in $texfiles ; do
87
- sed -n ' /begin{note}/,/end{note}/{/shall[^a-zA-Z]/{=;p}}' $f |
87
+ sed -n ' /begin{note}/,/end{note}/{/\( shall\|may\|should\) [^a-zA-Z]/{=;p}}' $f |
88
88
# prefix output with filename and line
89
89
sed ' /^[0-9]\+$/{N;s/\n/:/}' | sed " s/.*/$f :&/" |
90
- sed ' s/$/ <--- "shall" inside a note/'
90
+ sed ' s/$/ <--- "shall", "should", or "may" inside a note/'
91
91
done | grep . && exit 1
92
92
93
93
# Hanging paragraphs
You can’t perform that action at this time.
0 commit comments