Add some random fun to meme regexp. - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit 36ea9faad5d7da9f85bf9e4362e15258cd4aaef8
(DIR) parent 2f7c3e7bd9dbee632b85aa9809817bebfd0568cf
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Thu, 28 Dec 2023 17:39:05 +0100
Add some random fun to meme regexp.
Diffstat:
M annna-message-common | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/annna-message-common b/annna-message-common
@@ -1306,7 +1306,7 @@ do
*)
esac
- if tagline="$(grep "${tag} " "${hashtagfile}" | head -n 1)";
+ if tagline="$(grep "${tag} " "${hashtagfile}" | shuf -n 1)";
then
if [ $nospoil -eq 0 ];
then