Introduction
Introduction Statistics Contact Development Disclaimer Help
annna-add-hashtag: fix resorting the list when adding a hashtag - annna - Annna…
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit a477b1b559f1a5f41c33be3c7d33074164237460
parent 139fc2bdda823b5693b07bfedaecbd678e26fd14
Author: Annna Robert-Houdin <[email protected]>
Date: Sat, 8 Feb 2020 19:12:26 +0100
annna-add-hashtag: fix resorting the list when adding a hashtag
Diffstat:
M annna-add-hashtag | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/annna-add-hashtag b/annna-add-hashtag
@@ -87,7 +87,7 @@ inserttag() {
printf "%s %s\n" "${tag}" "${memecacheuri}" >> "${hashtagdb}"
printf "tag '%s' added as '%s' to hashtags db.\n" "${tag}" "${memecach…
- sort "${hashtagdb}" > "${hashtagdb}.sort"
+ sort -t ' ' -k1,1 "${hashtagdb}" > "${hashtagdb}.sort"
mv "$hashtagdb.sort" "${hashtagdb}"
# keep permissions shared.
chown ':bitreich' "${hashtagdb}"
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.