Introduction
Introduction Statistics Contact Development Disclaimer Help
Increase agrep difference between hashtags in recommendation to 4. - annna - An…
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 10d57d4335d197f646f3542f6098d24d5fa47f09
parent a24a5499786a503bf1ec6f6028f7e5bc0698f29b
Author: Annna Robert-Houdin <[email protected]>
Date: Sun, 7 Aug 2022 18:31:54 +0200
Increase agrep difference between hashtags in recommendation to 4.
Diffstat:
M annna-meme-recommend | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/annna-meme-recommend b/annna-meme-recommend
@@ -12,7 +12,8 @@ hashtagfile="$HOME/bin/modules/hashtags/hashtags.txt"
hashtag="$1"
-agrep -i -1 "^#${hashtag} " "${hashtagfile}" \
+# n differences == -4; up to 8
+agrep -i -4 "^#${hashtag} " "${hashtagfile}" \
| head -n 5 \
| cut -d' ' -f 1 \
| tr "\n" " "
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.