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