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