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

case "$1" in
	(*.[1-9])
		/usr/local/libexec/about-filter "$@"
		printf '</code></pre></td><td><pre><code>'
		;;
	(*)
		exec /usr/local/libexec/hi -t -n "$1" -f html -o anchor
		;;
esac