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