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