projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67b2f68
)
- debug
author
Bart Polot
<bart@net.in.tum.de>
Tue, 15 Oct 2013 13:35:22 +0000
(13:35 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Tue, 15 Oct 2013 13:35:22 +0000
(13:35 +0000)
src/mesh/beautify_log.sh
patch
|
blob
|
history
diff --git
a/src/mesh/beautify_log.sh
b/src/mesh/beautify_log.sh
index 13cbceedcb17f2f11e1d5ae454646cf071f1856e..379d6c5dd8357cdd95699456f06bfb1c98a0c9be 100755
(executable)
--- 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