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