* ${(Oi)foo} broken
@ 1996-06-12 12:39 Thorsten Meinecke
0 siblings, 0 replies; only message in thread
From: Thorsten Meinecke @ 1996-06-12 12:39 UTC (permalink / raw)
To: zsh-workers
(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 = " ";
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-06-12 12:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-06-12 12:39 ${(Oi)foo} broken Thorsten Meinecke
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).