Repo containing scripts to be used with dovel, and git hooks that powers our web interface.
Author: brian (git@myr.sh)
Date: Wed Sep 20 23:42:41 2023 -0300
Parent: ed36f14
Changed to printf
diff --git a/update-repo-tree b/update-repo-tree index b45d45d..98b483c 100755 --- a/update-repo-tree +++ b/update-repo-tree @@ -60,9 +60,9 @@ createfilepage() { <pre> <ol> EOF - while IFS='' read -r l + while IFS= read -r l do - echo "<li>"$l"</li>" + printf "<li>%s</li>\n" "$l" done < "$OUT/tree/$1" echo "</ol>\n</pre>\n</body>\n</html>"