URI: 
       Add unix power. - annna - Annna the nice friendly bot.
  HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
       ---
   DIR commit 7811fc220730985a7c59433096f067e2c334a3ba
   DIR parent 34872aba7471064bdd0f8240374bb98077f132ce
  HTML Author: Annna Robert-Houdin <annna@bitreich.org>
       Date:   Fri, 16 Jul 2021 21:49:41 +0200
       
       Add unix power.
       
       Diffstat:
         M annna-message-common                |       7 +++++++
         A unix-power                          |       9 +++++++++
       
       2 files changed, 16 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/annna-message-common b/annna-message-common
       @@ -230,6 +230,13 @@ case "${text}" in
                fi
                rm ${tmpf} 2>/dev/null
                ;;
       +"${botname}, please give me the unix power.")
       +        upcuri="$(unix-power)"
       +        if [ -n "${upcuri}" ];
       +        then
       +                annna-say -c "${channel}" "${user}, ${upcuri}"
       +        fi
       +        ;;
        "${botname}, play despacito plz.")
                annna-say -c "${channel}" "${user}, gopher://bitreich.org/9/memecache/despacito.mkv"
                ;;
   DIR diff --git a/unix-power b/unix-power
       @@ -0,0 +1,9 @@
       +#!/bin/sh
       +
       +hurl http://vrici.lojban.org/~cowan/upc/ \
       +        | xml2tsv 2>/dev/null \
       +        | grep txt \
       +        | cut -f 2 \
       +        | shuf -n 1 \
       +        | sed 's,href=\(.*\),http://vrici.lojban.org/~cowan/upc/\1,'
       +