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