ref: 878f3675d5e27ff896063018df8c28a054e899d1 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 }