branch | stable |
changeset 50723 | 65f949da8469 |
parent 50722 | 7e5be4a7cda7 |
child 50924 | 7a8ea1397816 |
--- a/contrib/check-code.py Mon Jun 26 14:34:58 2023 +0200 +++ b/contrib/check-code.py Mon Jun 26 14:54:00 2023 +0200 @@ -147,6 +147,7 @@ '[ foo == bar ] is a bashism, use [ foo = bar ] instead', ), (r'(^|\|\s*)egrep', "use grep -E for extended grep syntax"), + (r'(^|\|\s*)fgrep', "use grep -F for fixed string grepping"), (r'(^|\|\s*)e?grep .*\\S', "don't use \\S in regular expression"), (r'(?<!!)/bin/', "don't use explicit paths for tools"), (r'#!.*/bash', "don't use bash in shebang, use sh"),