aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-05-10 01:07:48 +0200
committerChristian Grothoff <christian@grothoff.org>2018-05-10 01:07:48 +0200
commite1431b294bf72d436f2e36ea21adea0dc432ab75 (patch)
tree22b27b3f2179c144999e8e87ca023d15703dfa41 /contrib
parent5cb79daa75c50477e6cc370c647990122b783ac9 (diff)
downloadgnunet-e1431b294bf72d436f2e36ea21adea0dc432ab75.tar.gz
gnunet-e1431b294bf72d436f2e36ea21adea0dc432ab75.zip
support keys with / in them
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/visualize_stats.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/visualize_stats.sh b/contrib/visualize_stats.sh
index 87d8fc6c4..aaa5e657b 100755
--- a/contrib/visualize_stats.sh
+++ b/contrib/visualize_stats.sh
@@ -34,7 +34,7 @@ case "$1" in
34 NOW=`date +%s` 34 NOW=`date +%s`
35 RELAT=$[$NOW-$STARTTIME] 35 RELAT=$[$NOW-$STARTTIME]
36 gnunet-statistics | while read KEY VALUE; do 36 gnunet-statistics | while read KEY VALUE; do
37 37 KEY=`echo $KEY | tr / .`
38 # Collect stats of previous round 38 # Collect stats of previous round
39 if [ -e "$STATDIR/$KEY.dat" ]; then 39 if [ -e "$STATDIR/$KEY.dat" ]; then
40 PREV=`tail --lines=1 "$STATDIR/$KEY.dat" | sed -e "s/.* //g"` 40 PREV=`tail --lines=1 "$STATDIR/$KEY.dat" | sed -e "s/.* //g"`