Public bug reported: % mkdir tst % cd tst % touch a00.x a01.x a02.x a03.x a04.x a05.x % ls a0[1-4].x a00.x a01.x a02.x a03.x a04.x
Correct output (seen from my OpenSUSE system which is running tcsh 6.20.00-4.15.1) is: a01.x a02.x a03.x a04.x In other words, "a00.x" shouldn't match the glob expression "a0[1-4].x". Last I checked, 0 isn't located anywhere between 1 and 4, though I guess I could be wrong. Interestingly, matching works properly on Ubuntu's 6.21 tcsh if I don't use a range: % ls a0[1234].x a01.x a02.x a03.x a04.x So it seems to be specifically a problem with ranges and not with brackets themselves. ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: tcsh 6.21.00-1.1 ProcVersionSignature: Ubuntu 5.19.0-45.46~22.04.1-generic 5.19.17 Uname: Linux 5.19.0-45-generic x86_64 NonfreeKernelModules: socwatch2_15 vtsspp sep5 socperf3 pax zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.11-0ubuntu82.5 Architecture: amd64 CasperMD5CheckResult: unknown CloudArchitecture: x86_64 CloudID: none CloudName: none CloudPlatform: none CloudSubPlatform: config CurrentDesktop: KDE Date: Fri Mar 1 09:30:15 2024 SourcePackage: tcsh UpgradeStatus: No upgrade log present (probably fresh install) modified.conffile..etc.default.apport: [modified] mtime.conffile..etc.default.apport: 2023-07-06T13:53:10.386844 ** Affects: tcsh (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug jammy uec-images -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2055698 Title: glob matching with range in brackets doesn't work properly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tcsh/+bug/2055698/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs