blob: b72cfa5e329fcbfc9a891dabc1fbee8813fd5077 (
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"
|