Show More
@@ -55,7 +55,7 b' testpats = [' | |||||
55 | (r'head -c', "don't use 'head -c', use 'dd'"), |
|
55 | (r'head -c', "don't use 'head -c', use 'dd'"), | |
56 | (r'sha1sum', "don't use sha1sum, use $TESTDIR/md5sum.py"), |
|
56 | (r'sha1sum', "don't use sha1sum, use $TESTDIR/md5sum.py"), | |
57 | (r'ls.*-\w*R', "don't use 'ls -R', use 'find'"), |
|
57 | (r'ls.*-\w*R', "don't use 'ls -R', use 'find'"), | |
58 |
(r'printf.*\\\d |
|
58 | (r'printf.*\\([1-9]|0\d)', "don't use 'printf \NNN', use Python"), | |
59 | (r'printf.*\\x', "don't use printf \\x, use Python"), |
|
59 | (r'printf.*\\x', "don't use printf \\x, use Python"), | |
60 | (r'\$\(.*\)', "don't use $(expr), use `expr`"), |
|
60 | (r'\$\(.*\)', "don't use $(expr), use `expr`"), | |
61 | (r'rm -rf \*', "don't use naked rm -rf, target a directory"), |
|
61 | (r'rm -rf \*', "don't use naked rm -rf, target a directory"), |
General Comments 0
You need to be logged in to leave comments.
Login now