gnunet

Main GNUnet Logic
Log | Files | Refs | Submodules | README | LICENSE

commit 0b49a42584ffd952f83eec54800f2c23c8066d97
parent 8070e8df94ce4c01b07044f6db0ec914ebdc87a6
Author: Gabor X Toth <*@tg-x.net>
Date:   Tue,  6 May 2014 10:26:14 +0000

logread: use global matching for colouring

Diffstat:
Mcontrib/logread.pl | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/logread.pl b/contrib/logread.pl @@ -95,12 +95,12 @@ while (<>) # Service names # TODO: might read the list from $GNUNET_PREFIX/libexec/gnunet/ - s/\b(multicast|psyc|psycstore|social)\b/BLUE $1/ex; + s/\b(multicast|psyc|psycstore|social)\b/BLUE $1/gex; # Add message type names s/(\s+type\s+)(\d+)/ $1 . BRIGHT_CYAN (exists $msgtypes{$2} ? $msgtypes{$2} : 'UNKNOWN') . - CYAN " ($2)"/ei; + CYAN " ($2)"/gei; print; }