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