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