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