Show More
@@ -37,7 +37,7 b' testpats = [' | |||||
37 | (r'\W\$?\(\([^\)]*\)\)', "don't use (()) or $(()), use expr"), |
|
37 | (r'\W\$?\(\([^\)]*\)\)', "don't use (()) or $(()), use expr"), | |
38 | (r'^function', "don't use 'function', use old style"), |
|
38 | (r'^function', "don't use 'function', use old style"), | |
39 | (r'grep.*-q', "don't use grep -q, redirect to /dev/null"), |
|
39 | (r'grep.*-q', "don't use grep -q, redirect to /dev/null"), | |
40 | (r'echo.*\\n', "don't use 'echo \n', use printf"), |
|
40 | (r'echo.*\\n', "don't use 'echo \\n', use printf"), | |
41 | (r'^diff.*-\w*N', "don't use diff -N"), |
|
41 | (r'^diff.*-\w*N', "don't use diff -N"), | |
42 | (r'(^| )wc[^|]*$', "filter wc output"), |
|
42 | (r'(^| )wc[^|]*$', "filter wc output"), | |
43 | (r'head -c', "don't use head -c, use dd"), |
|
43 | (r'head -c', "don't use head -c, use dd"), |
General Comments 0
You need to be logged in to leave comments.
Login now