From 9e5cae9504c6552900c287ae9db53d82b7329332 Mon Sep 17 00:00:00 2001 From: Christian Raue Date: Wed, 23 Jul 2014 20:30:48 +0200 Subject: reduced multiple empty lines to exactly one --- misc/others/download-count.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'misc/others') diff --git a/misc/others/download-count.txt b/misc/others/download-count.txt index 924d71ec38..3be6964b6f 100644 --- a/misc/others/download-count.txt +++ b/misc/others/download-count.txt @@ -2,10 +2,8 @@ Count the download for 'latest.zip' on the 20th March # cat access.log | grep "20/Mar" | grep "latest.zip" | awk '{print $1}' | sort | uniq | wc -l - Value to be compared with the one given by Piwik in Actions > Downloads - Count the no of hits by referrers, excluding piwik.org as a referer # cat /var/log/apache2/access.log | awk '{print $11}' | grep -vE "(^"-"$|/dev.piwik.org|/piwik.org)" | sort | uniq -c | sort -rn | head -n20 -- cgit v1.2.3