summary refs log tree commit diff
path: root/www/git.causal.agency/about-filter.sh
blob: ea68fe059e02857b557f3f73ca196b68f28b0705 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

case "$1" in
	(*.[1-9])
		exec /usr/bin/mandoc -T html -O fragment,man=%N.%S,includes=../tree/%I
		;;
	(*)
		exec /usr/local/libexec/hi -l text -f html
		;;
esac