zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-user <zsh-users@zsh.org>
Subject: Re: append mark qualifier disturbs sort qualifier?
Date: Wed, 24 Sep 2014 09:30:08 -0700	[thread overview]
Message-ID: <140924093008.ZM5727@torch.brasslantern.com> (raw)
In-Reply-To: <20140924104922.01ee66a4@pwslap01u.europe.root.pri>

On Sep 24, 10:49am, Peter Stephenson wrote:
}
} On Wed, 24 Sep 2014 17:24:04 +0800
} Han Pingtian <hanpt@linux.vnet.ibm.com> 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.


  reply	other threads:[~2014-09-24 16:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-24  9:24 Han Pingtian
2014-09-24  9:49 ` Peter Stephenson
2014-09-24 16:30   ` Bart Schaefer [this message]
2014-09-24 18:27 ` Peter Stephenson
2014-09-25  2:32   ` Han Pingtian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=140924093008.ZM5727@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).