summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoretienne2006-10-05 11:16:29 +0000
committeretienne2006-10-05 11:16:29 +0000
commit0fb650db658e3180cd7b58884cab07ce6743f586 (patch)
tree4b64de7a32427143c41e211f182a02602312953a /src
parent1b04c47f1564370b1a593f3e836de98ca1f3fb05 (diff)
downloadivymon-0fb650db658e3180cd7b58884cab07ce6743f586.zip
ivymon-0fb650db658e3180cd7b58884cab07ce6743f586.tar.gz
ivymon-0fb650db658e3180cd7b58884cab07ce6743f586.tar.bz2
ivymon-0fb650db658e3180cd7b58884cab07ce6743f586.tar.xz
possibilité de mettre des commentaires précédés du caractère # dans les
fichiers de rejeu
Diffstat (limited to 'src')
-rwxr-xr-xsrc/ivymon5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ivymon b/src/ivymon
index b6d0108..406769e 100755
--- a/src/ivymon
+++ b/src/ivymon
@@ -92,7 +92,7 @@ use vars qw/$VERSION $opt_help $opt_b $opt_bus $opt_history @opt_bind @opt_send
$opt_undersize $opt_out $opt_loadingmode $opt_replayrepeat $opt_replaystartregexp
$opt_replaystopregexp $opt_replaytimegranularity $opt_debug/;
# **** VERSION ***
-$VERSION = '1.16';
+$VERSION = '1.17';
# options initialisation
$opt_loadingmode = 'replay-pause';
@@ -2409,7 +2409,8 @@ sub loadfileForReplay {
my ($sender, $time, $message);
while(<IN>) {
chomp;
- next if /^applications=/ or /^messages_number=/ or /^\s*$/ or /^(marker\d+)$/;
+ next if /^\#/ or /^applications=/ or /^messages_number=/
+ or /^\s*$/ or /^(marker\d+)$/;
($sender, $time, $message) = split(/\s+/, $_, 3);
if ($replay_time_granularity >= 1) {
$time = int($time);