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