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