Importing lsmemes from KatolaZ. - 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 f0b0455d616e10227c2b915bae527c915cdc54dc
DIR parent 9c2d6a5313bd098963f1e8350ad2037d6dca5e37
HTML Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Tue, 19 May 2020 13:15:38 +0200
Importing lsmemes from KatolaZ.
Diffstat:
A lsmemes | 14 ++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)
---
DIR diff --git a/lsmemes b/lsmemes
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+MEMEFILE=/home/annna/bin/modules/hashtags/hashtags.txt
+MEMEDIR=/br/gopher
+
+printf "meme2\n"
+
+while read -r tag meme; do
+
+ hash=$(sha512sum ${MEMEDIR}/$(echo $meme | cut -d "/" -f 5-) | awk '{print $1}')
+ printf "%s %s %s\n" $tag $meme $hash
+
+done < $MEMEFILE
+