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