A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix Memleack
[simgrid.git]
/
tools
/
tesh
/
colorize.pl
diff --git
a/tools/tesh/colorize.pl
b/tools/tesh/colorize.pl
index
247c433
..
045ff68
100755
(executable)
--- a/
tools/tesh/colorize.pl
+++ b/
tools/tesh/colorize.pl
@@
-3,9
+3,9
@@
use Term::ANSIColor qw{:constants};
$Term::ANSIColor::AUTORESET = 1;
while(<>){
- if($_ =~ m/^[-]\s.*/){
+ if($_ =~ m/^
(\d+\:\s)?
[-]\s.*/){
print BOLD RED $_;
- }elsif ($_ =~ m/^[+]\s.*/){
+ }elsif ($_ =~ m/^
(\d+\:\s)?
[+]\s.*/){
print BOLD GREEN $_;
}else{
print BOLD $_;