Я и забыл, что я вэб программист:
l29ah-home /var/www/localhost/htdocs ∞ cat index.sh
!/bin/bash
markdown-web index.md #<(echo '<pre>'; uprecords -a; echo '</pre>')
l29ah-home /var/www/localhost/htdocs ∞ cat which markdown-web
!/bin/bash
echo Content-type: text/html; charset=utf-8
echo
echo '<html><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="/theme.css" />
</head><body>'
/usr/bin/markdown "$1"
shift
while [[ -n "$1" ]]; do
cat "$1"
shift
done
echo '</body></html>'