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