Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
(LC_ALL=C; set -x 128 129; printf "%s\n" ${(#)@} | hexdump -C)
- X-seq: zsh-workers 52109
- From: Stephane Chazelas <stephane@xxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: (LC_ALL=C; set -x 128 129; printf "%s\n" ${(#)@} | hexdump -C)
- Date: Wed, 30 Aug 2023 08:27:53 +0100
- Archived-at: <https://zsh.org/workers/52109>
- List-id: <zsh-workers.zsh.org>
- Mail-followup-to: Zsh hackers list <zsh-workers@xxxxxxx>
Something very wrong seems to be happening here, not sure what or how that
could happen:
$ zsh -c 'LC_ALL=C; set -x 128 129; printf "%s\n" ${(#)@} | hexdump -C'
+zsh:1> printf '"%s\n"' ''
+zsh:1> hexdump -C
00000000 22 0a 22 |"."|
00000003
(with git HEAD as well) on Ubuntu 22.04 amd64.
Does not happen without LC_ALL=C or with just "set -x 128" or with values <
128, or with printf "%s\n" $'\200' $'\201'
--
Stephane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author