this repo has no description

Update make scripts.

+4 -2
+3 -1
make.sh
··· 1 1 function last_edited_date() { 2 - stat -c %y "$1" | cut -d' ' -f1 2 + jj log "$1" \ 3 + -T 'self.committer().timestamp().format("%Y-%m-%d")' \ 4 + --no-graph -n 1 3 5 } 4 6 5 7 function preprocessing() {
+1 -1
make_index.sh
··· 13 13 title="$(grep '<title>' "output/$f" | perl -p -e "s#.*<title>(.*)</title>#\1#")" 14 14 last="$(grep -oE 'Last modified: [0-9\-]+' "output/$f")" 15 15 echo "* [$title]($f) ($last)" 16 - done | sort 16 + done | sort -t'(' -k 3 17 17 } 18 18 19 19 gen | pandoc_cmd --metadata footer="Generated at: $(date +%Y-%m-%d)" -o "$1"