From e1431b294bf72d436f2e36ea21adea0dc432ab75 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 10 May 2018 01:07:48 +0200 Subject: [PATCH] support keys with / in them --- contrib/visualize_stats.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 NOW=`date +%s` RELAT=$[$NOW-$STARTTIME] gnunet-statistics | while read KEY VALUE; do - + KEY=`echo $KEY | tr / .` # Collect stats of previous round if [ -e "$STATDIR/$KEY.dat" ]; then PREV=`tail --lines=1 "$STATDIR/$KEY.dat" | sed -e "s/.* //g"` -- 2.25.1