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