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