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