diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2015-02-13 16:16:21 +0100 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2015-02-13 16:16:21 +0100 |
commit | 83ba98ddff1156fc0222785e869ac8f4bede1e17 (patch) | |
tree | 1f9e2c9b9562fbfe6addaaf20ab3224ae2acd3d6 | |
parent | 19e5d127a3589a5c4bdfad8ed6f852d46b7901da (diff) |
Remember percent sign.
-rwxr-xr-x | analyse-ga-usage | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/analyse-ga-usage b/analyse-ga-usage index 337b3aa..b72cfa5 100755 --- a/analyse-ga-usage +++ b/analyse-ga-usage @@ -3,4 +3,4 @@ total=$(ls har-data/*.har | wc -l) gausers=$(grep -l google-analytics.com har-data/*.har | wc -l) -printf "%d (%.1f) of %d\n" "$gausers" "$(echo 100 \* $gausers / $total | bc -l)" "$total" +printf "%d (%.1f%%) of %d\n" "$gausers" "$(echo 100 \* $gausers / $total | bc -l)" "$total" |