From: Thorsten Meinecke <kaefer@aglaia.snafu.DE>
To: zsh-workers@math.gatech.edu
Subject: ${(Oi)foo} broken
Date: Wed, 12 Jun 1996 14:39:18 +0200 (MET DST) [thread overview]
Message-ID: <m0uTpCh-00009AC@aglaia.snafu.DE> (raw)
(Still in 2.6b20. Did nobody notice it since zsh-2.4-something-beta? :)
% foo=(a B c); echo ${(Oi)foo}
c a B
That should be "c B a". Manual says, sort case-independently
in descending order. Because the sort flags are coded as an
integer running from 0 to 4, bitwise OR won't work with 'em.
Regards,
--Thorsten
*** subst.c 1996/06/07 14:52:49 2.27
--- subst.c 1996/06/12 13:28:14
***************
*** 849,856 ****
s++;
}
}
! if (sortit && casind)
! sortit |= (casind << 1);
if (!premul)
premul = " ";
--- 849,856 ----
s++;
}
}
! if (sortit)
! sortit += (casind << 1);
if (!premul)
premul = " ";
reply other threads:[~1996-06-12 12:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=m0uTpCh-00009AC@aglaia.snafu.DE \
--to=kaefer@aglaia.snafu.de \
--cc=zsh-workers@math.gatech.edu \
/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).