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