diff -r d046eb97d21e -r 775a8d33e6f0 contrib/check-code.py --- a/contrib/check-code.py Wed Apr 25 01:35:39 2012 +0200 +++ b/contrib/check-code.py Wed Apr 25 01:35:39 2012 +0200 @@ -92,7 +92,8 @@ utestpats = [ [ (r'^(\S| $ ).*(\S[ \t]+|^[ \t]+)\n', "trailing whitespace on non-output"), - (uprefix + r'.*\|\s*sed', "use regex test output patterns instead of sed"), + (uprefix + r'.*\|\s*sed[^|>\n]*\n', + "use regex test output patterns instead of sed"), (uprefix + r'(true|exit 0)', "explicit zero exit unnecessary"), (uprefix + r'.*(?