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