#!/usr/bin/awk -f { ra[1] == "GET" && s == 200 && ra[2] ~ /\/$|\.html$/ && ps[ra[2]]++ } END { for (p in ps) print p" "ps[p] }