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