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