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