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