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