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