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