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