help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] Are "address@hidden" and "address@hidden" always in the


From: Greg Wooledge
Subject: Re: [Help-bash] Are "address@hidden" and "address@hidden" always in the same order?
Date: Mon, 19 Nov 2018 08:36:42 -0500
User-agent: NeoMutt/20170113 (1.7.2)

On Fri, Nov 16, 2018 at 11:49:20PM -0600, Peng Yu wrote:
> My test cases shows that "address@hidden" and
> "address@hidden" are in the same order. But no test cases can
> cover all possible situations. Does anybody know whether they are
> always in the same order? Thanks.

Why would you care?  If you need the indices, you use "address@hidden" and
this gives you a list of the indices in some unpredictable order.
You either iterate over this list as-is, or you sort it.  You don't
use "address@hidden" and then wonder whether the two lists match up.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]