Introduction
Introduction Statistics Contact Development Disclaimer Help
Format all_time_use into tsv - bitreich-memestats - Bitreich meme statistics an…
git clone git://bitreich.org/bitreich-memestats git://hg6vgqziawt5s4dj.onion/bi…
Log
Files
Refs
Tags
LICENSE
---
commit 8b2c68445d43d0c94c54acda78111be3c9bcc8dd
parent 40478c297936f8d19d37fef8684a09b5372a9898
Author: Anders Damsgaard <[email protected]>
Date: Fri, 17 Apr 2020 10:39:40 +0200
Format all_time_use into tsv
Diffstat:
M Makefile | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/Makefile b/Makefile
@@ -1,15 +1,16 @@
log = ~/.irssi/log/Freenode/\#bitreich-en.log
-all: all_time_use.txt
+all: all_time_use.tsv
memeuse.tsv: extract_memeuse.awk
awk -f extract_memeuse.awk $(log) > $@
-all_time_use.txt: memeuse.tsv
- cut -f5 memeuse.tsv | sort | uniq -c | sort -r > $@
+all_time_use.tsv: memeuse.tsv
+ cut -f5 memeuse.tsv | sort | uniq -c | sort -r | \
+ awk '{print $$1"\t"$$2}' > $@
clean:
rm -f memeuse.tsv
- rm -f all_time_use.txt
+ rm -f all_time_use.tsv
.PHONY: all clean
You are viewing proxied material from bitreich.org. 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.