Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

x# extended glob pattern doesn't work in s390x platform



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