Introduction
Introduction Statistics Contact Development Disclaimer Help
tAdd script for generating formatted table of top 10 of meme use - bitreich-mem…
git clone git://src.adamsgaard.dk/bitreich-memestats
Log
Files
Refs
---
commit 1fb985b7c00e6515c979eec88fb5f016fef6205b
parent e3aca3409bdee91be0505096223c25b318e030ee
Author: Anders Damsgaard <[email protected]>
Date: Mon, 20 Apr 2020 09:06:19 +0200
Add script for generating formatted table of top 10 of meme use
Diffstat:
A top10.sh | 17 +++++++++++++++++
1 file changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/top10.sh b/top10.sh
t@@ -0,0 +1,17 @@
+#!/bin/sh
+# print table to stdout containing top 10 memes with averaged usage per week
+
+printf '\n '
+printf '+------ top 10 (uses per week) ------+\n'
+i=1
+head "all_time_weekly_popularity.tsv" | while read u t; do
+ printf ' '
+ printf '| %2d. %-23s %6.3f |\n' \
+ "$i" \
+ "$t" \
+ "$u"
+ i=$((i+1))
+done
+
+printf ' '
+printf '+------------------------------------+\n'
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.