Do not sort uniq hashtags. - 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 d4853d8aef02b18b28e2852f922ba292e829187c
(DIR) parent adfc4e5f3e4e870f3cd30b8ba9c9fd285cc6e418
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Tue, 9 Feb 2021 21:20:30 +0100
Do not sort uniq hashtags.
Diffstat:
M annna-start-services | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) 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]
- }' | sort -u | while read -r tag;
+ }' | awk '!a[$0]++' | while read -r tag;
do
if tagline="$(grep "${tag} " "${hashtagfile}")";
then