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