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