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