ref: 1dd7f0893b28d10fb40f2ce7337c986b83c16f1d dir: /sys/doc/mkdirlist/
#!/bin/rc # mkdirlist for(i in $*) if(~ $i */*) basename -d $i