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