summary refs log tree commit diff
path: root/www/git.causal.agency/about-filter.sh
blob: c7161006ca624e69b759306f3f995e9197067b40 (plain) (blame)
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