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