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

Re: append mark qualifier disturbs sort qualifier?



On Wed, 24 Sep 2014 17:24:04 +0800
Han Pingtian <hanpt@xxxxxxxxxxxxxxxxxx> wrote:
> localhost% print -l **/*(odonT)
> 2/3/4/
> 2/3/4/5.txt 
> 2/3/4/6.txt 
> 2/
> 2/3/
> 
> Here, looks like "(T)" disturbs the sorting of "(odon)"?

I've reproduced this but haven't looked in detail yet.

It looks vaguely like the extra / is confusing it into thinking 2/3/4/
is an empty file in the directory 2/3/4.

However, that doesn't explain why 2/ comes before 2/3/.

pws



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