Only one line from pohlcode. It could be a flood output. - 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 edbf616c68c7c15e632ab88e3b758b95b2a439fe
(DIR) parent e6ab79ad9674daa2d40b5704140990607db9c609
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Wed, 9 Apr 2025 19:25:51 +0200
Only one line from pohlcode. It could be a flood output.
Diffstat:
M annna-message-common | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/annna-message-common b/annna-message-common
@@ -722,7 +722,7 @@ case "${text}" in
;;
"${ircuser}, please pohlish "*)
word="$(printf "%s\n" "${text}" | cut -c 23- | sed 's,\t, ,g')"
- suri="$(pohlcode.awk "${word}")"
+ suri="$(pohlcode.awk "${word}" | head -n 1)"
annna-say -s "${server}" -c "${channel}" "${suri}"
;;
"${ircuser}, what can I cook with "*)