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