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