From: Bart Polot Date: Tue, 15 Oct 2013 13:35:22 +0000 (+0000) Subject: - debug X-Git-Tag: initial-import-from-subversion-38251~6530 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c05d67a561ec151762ac7a6b8c17b5123d1ac504;p=oweals%2Fgnunet.git - debug --- diff --git a/src/mesh/beautify_log.sh b/src/mesh/beautify_log.sh index 13cbceedc..379d6c5dd 100755 --- a/src/mesh/beautify_log.sh +++ b/src/mesh/beautify_log.sh @@ -5,7 +5,7 @@ cat __tmp_peers | while read line; do PEER=`echo $line | sed -e 's/.*\[\(....\)\].*/\1/'` PID=`echo $line | sed -e 's/.*mesh-\([0-9]*\).*/\1/'` echo "$PID => $PEER" - cat .log | sed -e "s/mesh-$PID/MESH $PEER/" > .log2 + cat .log | sed -e "s/mesh-\([a-z2]*\)-$PID/MESH \1 $PEER/" > .log2 mv .log2 .log done