ref: 089924a4e7f48ffa1cd79c3d66e829f426266d3e 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 }