From 09b108b3ecd6c49467d0030576468c6cbf93c2f0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Tue, 16 Nov 2021 05:11:26 +0100 Subject: [PATCH] Bugfix: keep tag order --- widgets.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets.sh b/widgets.sh index 7daf540..4e93629 100755 --- a/widgets.sh +++ b/widgets.sh @@ -20,7 +20,7 @@ if [ ! -s "$c_tags" -o ! -s "$c_tagcategories" ] \ s;^.*\ttags=([^\t]*)\t.*$;\1;; s;,;\n;g; ' \ - | sort |uniq -c |sed -E 's;^ *[0-9]+ ;;;' |sort -rn \ + | sort |uniq -c |sort -rn |sed -E 's;^ *[0-9]+ ;;;' \ | UNSTRING | HTML \ | sed -E 's; \;;\n;g; s;\n+;\n;g;' )" -- 2.39.2