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