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