On Wednesday, 3 September 2014 at 09:20:44 UTC, Andrei
Alexandrescu wrote:
The relevant makefile rules are:
$(OUT)/downloads:
grep -o 'GET [^ ]* ' \
$(DATADIR)/downloads/2013-* $(DATADIR)/downloads/2014-* \
| grep 'dmd' | sed -e 's/:GET//' -e 's|^.*downloads/||' \
| sed -e 's/ .*dmd/ dmd/' | sort >[email protected]
mv [email protected] $@
$(OUT)/downloads.monthly: $(OUT)/downloads
sed -e 's/-.. .*//' $^ | uniq -c >>[email protected]
mv [email protected] $@
Nice, might be worth to spend some time filtering out machine
traffic, e.g. from running travis-ci. Also equally interesting is
to group those numbers by DPL release and OS.