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