diff options
-rwxr-xr-x | xlint | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlint b/xlint index 9839b97..34c46d7 100755 --- a/xlint +++ b/xlint @@ -6,7 +6,7 @@ export LC_ALL=C scan() { - local rx="$1" msg="$2" + local rx="$1" msg="$(echo $2 | sed 's,/,\\/,g')" grep -P -hn -e "$rx" "$template" | grep -v -P -e "[^:]*:\s*#" | sed "s/^\([^:]*\):\(.*\)/\1: $msg/" | |