From 8671f50636c56a4a6a254ba5b27595379f49d059 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 16 Jul 2021 00:48:12 +0200 Subject: Add /usr/local/bin/aboutfilter --- usr/local/bin/aboutfilter | 7 +++++++ usr/pkg/etc/cgitrc | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100755 usr/local/bin/aboutfilter (limited to 'usr') diff --git a/usr/local/bin/aboutfilter b/usr/local/bin/aboutfilter new file mode 100755 index 0000000..6d4a24f --- /dev/null +++ b/usr/local/bin/aboutfilter @@ -0,0 +1,7 @@ +#!/bin/sh + +case "$1" in +*.html) exec cat ;; +*.[1-9]) mandoc -T html -O fragment | sed 's/