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