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