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