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