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