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