From: Razvan Deaconescu Date: Mon, 16 Aug 2010 16:02:49 +0000 (+0300) Subject: ControlScripts: update output matrix file in parse_up_down_log.sh X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=840dfa20b35c6254ef2c1fa98e87fc354fd378a9;p=p2p-testing-infrastructure.git ControlScripts: update output matrix file in parse_up_down_log.sh --- diff --git a/ControlScripts/parse_up_down_log.sh b/ControlScripts/parse_up_down_log.sh index 2ad8cea..4ce9ce5 100755 --- a/ControlScripts/parse_up_down_log.sh +++ b/ControlScripts/parse_up_down_log.sh @@ -73,7 +73,8 @@ mkdir $log_folder/up/ # populate download matrix files for index in $(seq 1 ${#date_array[@]}); do date=${date_array[$(($index-1))]} - out_file=$(echo "${date}.mat" | sed 's/ /-/g') + tmp_out_file=$(echo "${date}.mat" | sed 's/-/./g' | sed 's/ /-/g' | sed 's/:/./g') + out_file=$(date +%Y).${tmp_out_file} echo "$out_file" >> $log_folder/down_mat_files.lst echo "$out_file" >> $log_folder/up_mat_files.lst DEBUG echo "out_file: $out_file"