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