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
}