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