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