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