Only display uniq hashtags. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 304a12c80b96af182ce51ca52db7c7a8d409184a | |
parent 25d194c7fc5aae319532576acd607a5b58523e29 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Tue, 9 Feb 2021 21:14:22 +0100 | |
Only display uniq hashtags. | |
Thanks josuah for finding this! | |
Diffstat: | |
M annna-start-services | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/annna-start-services b/annna-start-services | |
@@ -715,7 +715,7 @@ annna_common() { | |
for (tag in tags) | |
if (k++ < taglimit) | |
print tags[tag] | |
- }' | while read -r tag; | |
+ }' | sort -u | while read -r tag; | |
do | |
if tagline="$(grep "${tag} " "${hashtagfile}")"; | |
then |