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