Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
${(Oi)foo} broken
- X-seq: zsh-workers 1337
- From: Thorsten Meinecke <kaefer@xxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: ${(Oi)foo} broken
- Date: Wed, 12 Jun 1996 14:39:18 +0200 (MET DST)
- Organization: none. Location: Berlin, Germany
(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 = " ";
Messages sorted by:
Reverse Date,
Date,
Thread,
Author