plan9fox/sys/doc/mkdirlist

6 lines
66 B
Bash
Executable file

#!/bin/rc
# mkdirlist
for(i in $*)
if(~ $i */*)
basename -d $i