Fix flooding of regexp results. - 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 2f7c3e7bd9dbee632b85aa9809817bebfd0568cf DIR parent cfaf425956d95d71831803de6dbd0c8301045a62 HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Thu, 28 Dec 2023 17:36:32 +0100 Fix flooding of regexp results. 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}")"; + if tagline="$(grep "${tag} " "${hashtagfile}" | head -n 1)"; then if [ $nospoil -eq 0 ]; then