man-to-html/man-to-html

9 lines
137 B
Bash
Executable File

#!/usr/bin/env bash
title="Edward Shen Manual"
pandoc -f man -t html \
--template man-template \
-M title="$title" \
"$1" > "$2"