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