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