diff options
| author | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2014-09-19 09:17:01 -0400 |
|---|---|---|
| committer | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2014-09-19 09:17:01 -0400 |
| commit | 6996ef1862ec133e6d15ef06b660605d1192b166 (patch) | |
| tree | e64ae1b4548fbe53b4cca45e67fa723e707ed841 /scripts/sort_faves.sh | |
| parent | b04eea907242bb895f9578638f5f05612311fa66 (diff) | |
make / show top for today ; and sundry changes
Diffstat (limited to 'scripts/sort_faves.sh')
| -rwxr-xr-x | scripts/sort_faves.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
