From f197f33d4c82371423ad810d7a5700738b4fb01c Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sun, 23 Aug 2020 19:15:46 -0400 Subject: Use scheme for bin html --- bin/Makefile | 2 +- bin/html.sh | 33 ++++++++++++++++++++++++++++++--- 2 files changed, 31 insertions(+), 4 deletions(-) (limited to 'bin') diff --git a/bin/Makefile b/bin/Makefile index 09ec952e..5aa9acf9 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -116,7 +116,7 @@ WEBROOT = /usr/local/www/causal.agency html: ${HTMLS} @true -${HTMLS}: html.sh hi ttpre +${HTMLS}: html.sh scheme hi ttpre .SUFFIXES: .html diff --git a/bin/html.sh b/bin/html.sh index e5a15fdc..4a6b52f8 100644 --- a/bin/html.sh +++ b/bin/html.sh @@ -6,9 +6,36 @@ readonly GitURL='https://git.causal.agency/src/tree/bin' src=$1 man=${2:-} -./hi -f html -o document,tab=4 -n "$src" /dev/null | sed '/
${src} in git
+cat <
+${src}
+
+${src} in git
 EOF
+
 [ -f "$man" ] && man -P cat "${PWD}/${man}" | ./ttpre
 ./hi -f html -o anchor "$src"
-- 
cgit 1.4.1