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