Generate all time use count of tags, fix PHONY, remove trailing : from tags - bitreich-memestats - Bitreich meme statistics and graphs.
 (HTM) git clone git://bitreich.org/bitreich-memestats git://hg6vgqziawt5s4dj.onion/bitreich-memestats
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
 (DIR) LICENSE
       ---
 (DIR) commit 40478c297936f8d19d37fef8684a09b5372a9898
 (DIR) parent f8c777510e9663561ed292baaef1de5cfb7b4b91
 (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
       Date:   Fri, 17 Apr 2020 10:32:30 +0200
       
       Generate all time use count of tags, fix PHONY, remove trailing : from tags
       
       Diffstat:
         M Makefile                            |       8 +++++++-
         M extract_memeuse.awk                 |       2 +-
       
       2 files changed, 8 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/Makefile b/Makefile
       @@ -1,9 +1,15 @@
        log = ~/.irssi/log/Freenode/\#bitreich-en.log
        
       +all: all_time_use.txt
       +
        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 > $@
       +
        clean:
                rm -f memeuse.tsv
       +        rm -f all_time_use.txt
        
       -.PHONY: memeuse.tsv
       +.PHONY: all clean
 (DIR) diff --git a/extract_memeuse.awk b/extract_memeuse.awk
       @@ -40,7 +40,7 @@ function extract_tag(s) {
                match(s, /#.*/);
                s = substr(s, RSTART, RLENGTH);
                gsub(/ .*/, "", s);
       -        gsub(/[!?,\.]$/, "", s);
       +        gsub(/[!?:,\.]$/, "", s);
                return s;
        }