equal
deleted
inserted
replaced
50 (r'(^|\|\s*)grep (-\w\s+)*[^|]*[(|]\w', |
50 (r'(^|\|\s*)grep (-\w\s+)*[^|]*[(|]\w', |
51 "use egrep for extended grep syntax"), |
51 "use egrep for extended grep syntax"), |
52 (r'/bin/', "don't use explicit paths for tools"), |
52 (r'/bin/', "don't use explicit paths for tools"), |
53 (r'\$PWD', "don't use $PWD, use `pwd`"), |
53 (r'\$PWD', "don't use $PWD, use `pwd`"), |
54 (r'[^\n]\Z', "no trailing newline"), |
54 (r'[^\n]\Z', "no trailing newline"), |
|
55 (r'export.*=', "don't export and assign at once"), |
55 ] |
56 ] |
56 |
57 |
57 testfilters = [ |
58 testfilters = [ |
58 (r"( *)(#([^\n]*\S)?)", repcomment), |
59 (r"( *)(#([^\n]*\S)?)", repcomment), |
59 (r"<<(\S+)((.|\n)*?\n\1)", rephere), |
60 (r"<<(\S+)((.|\n)*?\n\1)", rephere), |