Skip to content
Snippets Groups Projects
Commit 91a72046 authored by Augie Fackler's avatar Augie Fackler
Browse files

contrib: ban find(1)'s -printf operator, as it is a GNU-ism

Differential Revision: https://phab.mercurial-scm.org/D1598
parent 84607c8b
No related branches found
No related tags found
No related merge requests found
......@@ -149,6 +149,8 @@
(r'env.*-u', "don't use 'env -u VAR', use 'unset VAR'"),
(r'cp.* -r ', "don't use 'cp -r', use 'cp -R'"),
(r'grep.* -[ABC]', "don't use grep's context flags"),
(r'find.*-printf',
"don't use 'find -printf', it doesn't exist on BSD find(1)"),
],
# warnings
[
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment