From 6996ef1862ec133e6d15ef06b660605d1192b166 Mon Sep 17 00:00:00 2001 From: dumpfmprod Date: Fri, 19 Sep 2014 09:17:01 -0400 Subject: make / show top for today ; and sundry changes --- scripts/sort_faves.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/sort_faves.sh') diff --git a/scripts/sort_faves.sh b/scripts/sort_faves.sh index eb28a39..3daad0b 100755 --- a/scripts/sort_faves.sh +++ b/scripts/sort_faves.sh @@ -12,9 +12,9 @@ echo "Get the top 50 faves for the Hall of Fame" sort -t, -k3,3 -rn $1 | head -50 > faves/hall.csv echo "Group faves by user for popular pages, total fave scores" -sort -t, -k1,1 -r -k3,3 -n faves/counts_sorted.csv > faves/by_user.csv +sort -t, -k1,1 -r -k3,3 -n $1 > faves/by_user.csv echo "Group faves by date for daily tallies" -sort -t, -k4,4 -r -k3,3 -n faves/counts_sorted.csv > faves/by_date.csv +sort -t, -k4,4 -r -k3,3 -n $1 > faves/by_date.csv -- cgit v1.2.3-70-g09d2