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