summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-05-09 11:58:24 +0200
committerJan Pokorný <jpokorny@redhat.com>2013-05-09 11:58:24 +0200
commitaa2760d2619efa8c86cb6b83e3987a297ec452a6 (patch)
tree9aeee7d32a924d3107d7c45d37e63eddaea4237f
parent81bd6b4f9d0aa049592725a3600f0d5ec8780eee (diff)
downloadwatch-bz-aa2760d2619efa8c86cb6b83e3987a297ec452a6.tar.gz
watch-bz-aa2760d2619efa8c86cb6b83e3987a297ec452a6.tar.xz
watch-bz-aa2760d2619efa8c86cb6b83e3987a297ec452a6.zip
watch-bz: substitute triple bang only once per line
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rwxr-xr-xwatch-bz2
1 files changed, 1 insertions, 1 deletions
diff --git a/watch-bz b/watch-bz
index 1aaf429..d8d7aab 100755
--- a/watch-bz
+++ b/watch-bz
@@ -48,7 +48,7 @@ if watch --color -n0.1 -g date &>/dev/null; then
COLORIZE+=" -e 's|\([0-9.A-Z]\++[, ]\)|\x1b[1;32m\1\x1b[0m|g'"
COLORIZE+=" -e 's|\([0-9.A-Z]\+-[, ]\)|\x1b[35m\1\x1b[0m|g'"
COLORIZE+=" -e 's|\([0-9.A-Z]\+?[, ]\)|\x1b[37m\1\x1b[0m|g'"
- COLORIZE+=" -e 's|\(!!!\)|\x1b[1;31m\1\x1b[0m|g'"
+ COLORIZE+=" -e 's|\(!!!\)|\x1b[1;31m\1\x1b[0m|'"
fi
# guess correct paths