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