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