57 lines
1.2 KiB
HTML
57 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<head>
|
|
<meta charset=utf-8>
|
|
<title>colophon</title>
|
|
<link rel=stylesheet type=text/css href=S/acdw.css>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<a href="./index.html"
|
|
>acdw</a>
|
|
<span class=phi>ⱷ</span>
|
|
<a href="./blog.html"
|
|
>blog</a>
|
|
<a href="./code.html"
|
|
>code</a>
|
|
<a href="./cooking.html"
|
|
>cooking</a>
|
|
<a href="./dogs.html"
|
|
>dogs</a>
|
|
<a href="./noise.html"
|
|
>noise</a>
|
|
<a href="./writing.html"
|
|
>writing</a>
|
|
</header>
|
|
<main>
|
|
<h1>colophon</h1>
|
|
<h2>nef</h2>
|
|
<P>now 299 characters,
|
|
a 69% reduction
|
|
from <a href="https://git.sr.ht/~acdw/unk">UNK</a>.
|
|
<pre><code>#!/bin/sh -C
|
|
rm -r O;mkdir O;cp -r S O;alias P=echo
|
|
X()(eval "$(P "cat<<.";cat;P;P .)")
|
|
P>Z 'for F;do X<L>O/${F#I};done'
|
|
P>R '!/^<.*>$/{$0="<P>"$0}//'
|
|
P>L '<!DOCTYPE html><title>$(sed q $F)</title>
|
|
$(sed 1d $F|X|awk -vRS= -fR)<hr>/$(for P in I/*
|
|
do P "<a href=.${P#I/}>$(sed q $P)</a>";done)'
|
|
. ./Z
|
|
</code></pre>
|
|
</main>
|
|
<footer>
|
|
<span class=phi>© 2020 Case Duckworth</span>
|
|
<span class=phi>ⱷ</span>
|
|
<a href="./.license.html"
|
|
>license</a>
|
|
<a href="./.colophon.html"
|
|
class=current
|
|
>colophon</a>
|
|
<a href="./.rss.xml"
|
|
></a>
|
|
<a href="./.atom.xml"
|
|
></a>
|
|
</footer>
|
|
</body>
|
|
|