blob: 337b3aaad59c72c610d175d9b7636eb9249f28a0 (
plain)
1
2
3
4
5
6
|
#!/bin/sh
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"
|