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