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