From 0fb650db658e3180cd7b58884cab07ce6743f586 Mon Sep 17 00:00:00 2001 From: etienne Date: Thu, 5 Oct 2006 11:16:29 +0000 Subject: possibilité de mettre des commentaires précédés du caractère # dans les fichiers de rejeu --- src/ivymon | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') 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() { 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); -- cgit v1.1