Show More
@@ -142,7 +142,8 b' testpats = [' | |||||
142 | (r'\|&', "don't use |&, use 2>&1"), |
|
142 | (r'\|&', "don't use |&, use 2>&1"), | |
143 | (r'\w = +\w', "only one space after = allowed"), |
|
143 | (r'\w = +\w', "only one space after = allowed"), | |
144 | (r'\bsed\b.*[^\\]\\n', "don't use 'sed ... \\n', use a \\ and a newline"), |
|
144 | (r'\bsed\b.*[^\\]\\n', "don't use 'sed ... \\n', use a \\ and a newline"), | |
145 | (r'env.*-u', "don't use 'env -u VAR', use 'unset VAR'") |
|
145 | (r'env.*-u', "don't use 'env -u VAR', use 'unset VAR'"), | |
|
146 | (r'cp.* -r ', "don't use 'cp -r', use 'cp -R'"), | |||
146 | ], |
|
147 | ], | |
147 | # warnings |
|
148 | # warnings | |
148 | [ |
|
149 | [ |
General Comments 0
You need to be logged in to leave comments.
Login now