From: Paul Hänsch Date: Mon, 6 Jul 2020 17:53:31 +0000 (+0200) Subject: proper line break escape X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=065316c023b0204cd06ada3f6d0826ad4c4cdb56;p=serve0 proper line break escape --- diff --git a/widgets.sh b/widgets.sh index a039d97..f6ab607 100644 --- a/widgets.sh +++ b/widgets.sh @@ -46,7 +46,7 @@ if [ ! -f "$w_tags" -o ! -f "$w_tagcategories" ] \ } otag="$tag" done - } |sort -rn |cut -f2- |HTML |sed "$w_ascii s- -\n-g; s;\n\n;\n;g;" |tee "$w_tags" )" + } |sort -rn |cut -f2- |HTML |sed "$w_ascii s- -\n-g; s;\n\n;\n;g;" |tee "$w_tags" )" w_tagcategories="$(printf %s "$w_tags" \ | sed -rn '/:/s;^-?([^:]+):.*$;\1;p' |sort -u \ | tee "$w_tagcategories" )"