summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xxlint1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlint b/xlint
index 2ba4bd8..d611d4a 100755
--- a/xlint
+++ b/xlint
@@ -6,6 +6,7 @@ export LC_ALL=C
 scan() {
 	local rx="$1" msg="$2"
 	grep -P -Hn -e "$rx" "$template" |
+		grep -v -P -e "[^:]*:[^:]*:\s*#" |
 		sed "s/^\([^:]*:[^:]*:\)\(.*\)/\1 $msg/"
 }