ref: 0d3467caf06311dc8b827ced870271743ae12763 dir: /bin/gensitemaptxt.rc/
#!/bin/rc for ( d in sites/*/ ) { du -a $d | awk '/\.(md|html)$/ { print $2 }; {}' | 9 sed -e 's/\.(md|html)$//' -e 's,/index$,/,' -e 's,^sites/,http://,' > $d/sitemap.txt }