zsh-workers
 help / color / mirror / code / Atom feed
* (LC_ALL=C; set -x 128 129; printf "%s\n" ${(#)@} | hexdump -C)
@ 2023-08-30  7:27 Stephane Chazelas
  2023-08-30 19:45 ` Bart Schaefer
  0 siblings, 1 reply; 10+ messages in thread
From: Stephane Chazelas @ 2023-08-30  7:27 UTC (permalink / raw)
  To: Zsh hackers list

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-09-21  9:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-30  7:27 (LC_ALL=C; set -x 128 129; printf "%s\n" ${(#)@} | hexdump -C) Stephane Chazelas
2023-08-30 19:45 ` Bart Schaefer
2023-08-31 17:38   ` Jun. T
2023-09-07 14:26     ` Jun. T
2023-09-07 16:33       ` Peter Stephenson
2023-09-08 16:30         ` Jun. T
2023-09-11  8:57           ` Peter Stephenson
2023-09-11 12:11             ` Jun. T
2023-09-13  9:59               ` Jun T
2023-09-21  9:26                 ` Jun T

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).