Do not sort uniq hashtags. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit d4853d8aef02b18b28e2852f922ba292e829187c | |
parent adfc4e5f3e4e870f3cd30b8ba9c9fd285cc6e418 | |
Author: Annna Robert-Houdin <[email protected]> | |
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(-) | |
--- | |
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 |