Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
x# extended glob pattern doesn't work in s390x platform
- X-seq: zsh-workers 55272
- From: Eric Nielsen <ericbn@xxxxxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: x# extended glob pattern doesn't work in s390x platform
- Date: Mon, 16 Nov 2026 15:05:36 +0000
- Archived-at: <https://zsh.org/workers/55272>
- Feedback-id: 45626790:user:proton
- List-id: <zsh-workers.zsh.org>
Testing with an emulation using Docker below. I didn't check with other distributions, only with Debian, where I observed the issue.
This reproduces it:
% docker run -it --rm --platform linux/s390x debian:testing
# apt-get update
# apt-get install -y --no-install-recommends zsh
# zsh
# mkdir -p sub tests && touch a.zsh sub/b.zsh tests/c.zsh
# setopt extendedglob
# print (^*test*/)#*.zsh
sub/b.zsh
Here's the same scenario, but in an amd64 platform, and the glob gives the expected results:
% docker run -it --rm --platform linux/s390x debian:testing
# apt-get update
# apt-get install -y --no-install-recommends zsh
# zsh
# mkdir -p sub tests && touch a.zsh sub/b.zsh tests/c.zsh
# setopt extendedglob
# print (^*test*/)#*.zsh
a.zsh sub/b.zsh
Messages sorted by:
Reverse Date,
Date,
Thread,
Author