Make troff-generated html pages look a bit better

This commit is contained in:
Uriel 2008-06-10 16:33:28 +02:00
parent 4a14f71e8d
commit 3166d95763
5 changed files with 16 additions and 13 deletions

View file

@ -1,6 +1,8 @@
#!/bin/rc
for ( d in sites/*/ ) {
#!/usr/bin/env rc
du -a $d | awk '/\.(md|html)$/ { print $2 }; {}' | 9 sed -e 's/\.(md|html)$//' -e 's,/index$,/,' -e 's,^sites/,http://,' > $d/sitemap.txt
echo foo
for ( d in sites/*/ ) {
echo $d
9 du -a $d | awk '/\.(md|html)$/ { print $2 }; {}' | 9 sed -e 's/\.(md|html)$//' -e 's,/index$,/,' -e 's,^sites/,http://,' > $d/sitemap.txt
}

View file

@ -8,5 +8,5 @@ allow_archive = bz2 zip
[collections]
#allow_archive = bz2 zip
/gsoc/hg = /gsoc/hg/
/var/hg = /var/hg/
#/var/hg = /var/hg/

View file

@ -1,3 +1,4 @@
#!/usr/bin/env rc
#!/bin/rc
. 9.rc