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