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