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