=== modified file 'render_files' --- render_files 2017-11-06 22:45:39 +0000 +++ render_files 2014-07-02 11:50:54 +0000 @@ -2,7 +2,7 @@ render() { mkdir -p head/${1%/*} || exit $? if test raw/"$1" -nt head.old/"$1".html; then - escaped="head/$(printf '%s\n' "$1" | sed 's/[#%|\\]/\\&/').html" + escaped="head/$(sed 's/[#%|\\]/\\&/' <<<"$1").html" vim /dev/null 2>&1 raw/"$1" +'set modeline' +'e!' +'set nornu number fdm=manual' +TOhtml '+w! '"$escaped" '+qa!' touch -r raw/"$1" head/"$1".html else