1 2 3 4 5 6 7 8 9 10
#!/bin/sh case "$1" in (*.[1-9]) /usr/bin/mandoc -T html -O fragment,man=%N.%S,includes=../tree/%I ;; (*) exec /usr/local/libexec/hi -l text -f html ;; esac