From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13803 invoked by alias); 24 Sep 2014 16:30:30 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19141 Received: (qmail 13393 invoked from network); 24 Sep 2014 16:30:27 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 From: Bart Schaefer Message-id: <140924093008.ZM5727@torch.brasslantern.com> Date: Wed, 24 Sep 2014 09:30:08 -0700 In-reply-to: <20140924104922.01ee66a4@pwslap01u.europe.root.pri> Comments: In reply to Peter Stephenson "Re: append mark qualifier disturbs sort qualifier?" (Sep 24, 10:49am) References: <20140924092404.GB3248@localhost.localdomain> <20140924104922.01ee66a4@pwslap01u.europe.root.pri> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-user Subject: Re: append mark qualifier disturbs sort qualifier? MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Sep 24, 10:49am, Peter Stephenson wrote: } } On Wed, 24 Sep 2014 17:24:04 +0800 } Han Pingtian 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. Not an empty file, but a file named (empty string). } However, that doesn't explain why 2/ comes before 2/3/. Empty string sorts before 3 the same as empty string sorts before 5 and 6. This is all the same side-effect.