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