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