contrib/check-code.py
changeset 10373 e4c7972002e4
parent 10291 61c93743fae0
child 10374 3aa35db5e38c
--- a/contrib/check-code.py	Sun Feb 07 07:37:05 2010 -0600
+++ b/contrib/check-code.py	Sun Feb 07 01:52:10 2010 +0100
@@ -37,7 +37,7 @@
     (r'\W\$?\(\([^\)]*\)\)', "don't use (()) or $(()), use expr"),
     (r'^function', "don't use 'function', use old style"),
     (r'grep.*-q', "don't use grep -q, redirect to /dev/null"),
-    (r'echo.*\\n', "don't use 'echo \n', use printf"),
+    (r'echo.*\\n', "don't use 'echo \\n', use printf"),
     (r'^diff.*-\w*N', "don't use diff -N"),
     (r'(^| )wc[^|]*$', "filter wc output"),
     (r'head -c', "don't use head -c, use dd"),