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