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