diff options
Diffstat (limited to 'adapter/format')
-rw-r--r-- | adapter/format/uri2html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/adapter/format/uri2html b/adapter/format/uri2html new file mode 100644 index 00000000..20ae5670 --- /dev/null +++ b/adapter/format/uri2html @@ -0,0 +1,3 @@ +#!/bin/sh +echo "<!DOCTYPE html>${1+"<h1>$1</h1><hr>"}<ol>" +sed -e '/^#/d' -e 's@.*@<li><a href="&">&</a>@' |