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