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