ControlScripts/clients/hrk: remove grepping for "SLEEP" when parsing for peer-connect...
authorRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Sat, 14 Aug 2010 12:52:08 +0000 (15:52 +0300)
committerRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Sat, 14 Aug 2010 12:52:08 +0000 (15:52 +0300)
ControlScripts/clients/hrk/parse_hrk.sh

index cc24388..6d19a9f 100755 (executable)
@@ -90,7 +90,7 @@ local_ip=$(hostname_to_ip ${LOG_FILE/%.log/})
 
 # Parse the peer log file; output peer download and upload files
 
-grep '^--Peers\|SLEEP' $LOG_FOLDER/$LOG_FILE | awk -v ip=${local_ip} -F '[],() []+' '
+grep '^--Peers' $LOG_FOLDER/$LOG_FILE | awk -v ip=${local_ip} -F '[],() []+' '
 {
        printf "[%s %s %s]", $2, $3, $4;
        i = 6;