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