diff -r 6fb5a06b92c6 -r e267d4ee4f2d contrib/check-code.py --- a/contrib/check-code.py Fri Sep 01 12:34:34 2017 -0700 +++ b/contrib/check-code.py Fri Sep 01 15:47:32 2017 -0700 @@ -119,7 +119,8 @@ (r'\[[^\]]+==', '[ foo == bar ] is a bashism, use [ foo = bar ] instead'), (r'(^|\|\s*)grep (-\w\s+)*[^|]*[(|]\w', "use egrep for extended grep syntax"), - (r'/bin/', "don't use explicit paths for tools"), + (r'(? \1)", rephere), - (r"( +)(#([^\n]*\S)?)", repcomment), + (r"( +)(#([^!][^\n]*\S)?)", repcomment), ] pypats = [