plan9fox/sys/doc/mkdirlist

5 lines
66 B
Bash
Executable file

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