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