summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-05-17 18:23:58 +0200
committerJan Pokorný <jpokorny@redhat.com>2013-05-17 18:23:58 +0200
commit4809d7147a392b7081803b40f8cc7bbbbc339337 (patch)
tree23311deb8640ef20a302a19b734f5a6a4cd8ada3
parente012de78d5934e5797197f01ef267426e008a53b (diff)
downloadwatch-bz-4809d7147a392b7081803b40f8cc7bbbbc339337.tar.gz
watch-bz-4809d7147a392b7081803b40f8cc7bbbbc339337.tar.xz
watch-bz-4809d7147a392b7081803b40f8cc7bbbbc339337.zip
Adjust colors/filters a bit
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rwxr-xr-xwatch-bz5
1 files changed, 3 insertions, 2 deletions
diff --git a/watch-bz b/watch-bz
index 5370b17..aa5ac32 100755
--- a/watch-bz
+++ b/watch-bz
@@ -46,8 +46,9 @@ if watch --color -n0.1 -g date &>/dev/null; then
WATCHCMD='watch --color'
COLORIZE="sed"
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[33m\1\x1b[0m|g'"
COLORIZE+=" -e 's|\([0-9.A-Z]\+?[, ]\)|\x1b[37m\1\x1b[0m|g'"
+ COLORIZE+=" -e 's|\(I?[, ]\)|\x1b[1;36m\1\x1b[0m|g'"
COLORIZE+=" -e 's|\(!!!\)|\x1b[1;31m\1\x1b[0m|'"
fi
@@ -171,7 +172,7 @@ do_watch () {
-e \"s|requires_release_note|RN|\" \
-e \"s|docs_scoped|DS|\" \
-e \"s|rhel-||g\" \
- -e \"s|qe_test_coverage||\" \
+ -e \"s|qe_test_coverage[?+-][,]\?||\" \
-e \"s|None||\" \
| ${HERE}/table-data $SEP | sort | cut -c-$WIDTH | ${COLORIZE}"
}