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