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