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