12 |
|
$grepStr = ""; |
13 |
|
} |
14 |
|
else { |
15 |
< |
$grepStr = " | grep $grep"; |
15 |
> |
if ($grep =~ /^[a-zA-Z_\-0-9\.\/]$/) { |
16 |
> |
$grepStr = " | grep $grep"; |
17 |
> |
} |
18 |
> |
else { |
19 |
> |
$grepStr = ""; |
20 |
> |
} |
21 |
|
} |
22 |
|
} |
23 |
|
else { |
93 |
|
$encoded =~ s/</</g; |
94 |
|
$encoded =~ s/>/>/g; |
95 |
|
$encoded =~ s/^(.{0})(.*core\.loggers\..*: started)$/<hr size=10 color=blue>$2/; |
96 |
< |
$encoded =~ s/(.*)] (.*)}:(.*)/$1] <i>$2<\/i>:<b>$3<\/b>/; |
96 |
> |
$encoded =~ s/(.*)] (.*)}:(.*)/$1] <i>$2}<\/i>:<b>$3<\/b>/; |
97 |
|
return $encoded; |
98 |
|
} |
99 |
|
|