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