]> git.plutz.net Git - serve0/commitdiff
proper line break escape
authorPaul Hänsch <paul@plutz.net>
Mon, 6 Jul 2020 17:53:31 +0000 (19:53 +0200)
committerPaul Hänsch <paul@plutz.net>
Mon, 6 Jul 2020 17:53:31 +0000 (19:53 +0200)
widgets.sh

index a039d97b6b486613b8e19ae2dbb71a318f3c07dd..f6ab6074bb1ceb5e8facbe9515d6baaa3740f894 100644 (file)
@@ -46,7 +46,7 @@ if [ ! -f "$w_tags" -o ! -f "$w_tagcategories" ] \
       }
       otag="$tag"
     done
-  } |sort -rn |cut -f2- |HTML |sed "$w_ascii s-&#10;-\n-g; s;\n\n;\n;g;" |tee "$w_tags" )"
+  } |sort -rn |cut -f2- |HTML |sed "$w_ascii s-&#x0A;-\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" )"