diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-10-18 03:54:59 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-10-18 03:54:59 +0000 |
commit | 8fdda144448a85f98993dace8eeac8b75fc19c9f (patch) | |
tree | 4adaeb65ae4ad3a5a4dbda3af4941e877dc064cd /src | |
parent | b8a3c441ee68b8dbeae9106367507f661ea0a00a (diff) | |
download | gnunet-8fdda144448a85f98993dace8eeac8b75fc19c9f.tar.gz gnunet-8fdda144448a85f98993dace8eeac8b75fc19c9f.zip |
- debug
Diffstat (limited to 'src')
-rwxr-xr-x | src/mesh/beautify_log.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesh/beautify_log.sh b/src/mesh/beautify_log.sh index 379d6c5dd..d79b9df11 100755 --- a/src/mesh/beautify_log.sh +++ b/src/mesh/beautify_log.sh | |||
@@ -6,7 +6,8 @@ cat __tmp_peers | while read line; do | |||
6 | PID=`echo $line | sed -e 's/.*mesh-\([0-9]*\).*/\1/'` | 6 | PID=`echo $line | sed -e 's/.*mesh-\([0-9]*\).*/\1/'` |
7 | echo "$PID => $PEER" | 7 | echo "$PID => $PEER" |
8 | cat .log | sed -e "s/mesh-\([a-z2]*\)-$PID/MESH \1 $PEER/" > .log2 | 8 | cat .log | sed -e "s/mesh-\([a-z2]*\)-$PID/MESH \1 $PEER/" > .log2 |
9 | mv .log2 .log | 9 | cat .log2 | sed -e "s/mesh-$PID/MESH XXX $PEER/" > .log3 |
10 | mv .log3 .log | ||
10 | done | 11 | done |
11 | 12 | ||
12 | rm __tmp_peers | 13 | rm __tmp_peers |