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