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