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