Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: ls -l *(/)...



On 22/06/15 20:30, Bart Schaefer wrote:
On Jun 22,  7:59pm, lists@xxxxxxxxx wrote:
} Subject: Re: ls -l *(/)...
}
} > ls */*
} >
} > gives
} >
} > directory:
} > file1
} > file2
} > file3
}
} Well, here, the output is exactly like how you want it (do you have `ls`
} being some alias?).

I suspect Meino actually has more than one level of directory under the
current one, despite his original description.  Or he's not executing
the "ls" at the level of the heirarchy that we think he is.

     print -c */*
I'd go for
    ls **/*(.)

but you're right, it's not clear what he really wants.



Messages sorted by: Reverse Date, Date, Thread, Author