Introduction
Introduction Statistics Contact Development Disclaimer Help
annna-meme-atom-feed - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
annna-meme-atom-feed (424B)
---
1 #!/bin/sh
2
3 cd /home/annna/bin
4
5 list() {
6 git blame --since 3.weeks -p modules/hashtags/hashtags.txt | \
7 LC_ALL=C awk -F '[ ]' '
8 $1 == "committer-time" {
9 ts = $2;
10 }
11 /^ / {
12 memeline = substr($0, 2);
13 idx = index(memeline, " ");
14 if (idx) {
15 hashtag = substr(memeline, 1, idx);
16 url = substr(memeline, idx + 1);
17 print ts "\t" hashtag "\t" url;
18 }
19 }
20 ' | \
21 sort -t ' ' -k1,1rn
22 }
23
24 view() {
25 list | sfeed_atom
26 }
27
28 "${1:-view}"
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.