diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-05-10 01:07:48 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-05-10 01:07:48 +0200 |
commit | e1431b294bf72d436f2e36ea21adea0dc432ab75 (patch) | |
tree | 22b27b3f2179c144999e8e87ca023d15703dfa41 | |
parent | 5cb79daa75c50477e6cc370c647990122b783ac9 (diff) |
support keys with / in them
-rwxr-xr-x | contrib/visualize_stats.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/visualize_stats.sh b/contrib/visualize_stats.sh index 87d8fc6c4c..aaa5e657b8 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"` |