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