Date: Sat, 29 Aug 2020 13:51:39 -0400 From: Bruce Lilly <bruce.li...@gmail.com> Message-ID: <capyes344y8saxmxcxo8dmjt2opyzkxvbyy7vsszw81rsgd5...@mail.gmail.com>
| Evidently not enough to see the specifications for pattern matching... But I did, and I still fail to see anywhere where anything even suggests that [\057] means anything other than either (which it should be is less clear) than "a '0', or a '5', or a '7'" or perhaps the same with the addition of "or a '\'" (that is, in char classes in glob patterns, it isn't 100% clear whether the \ is a quoting character, leading to a quoted '0' (which is just a '0') in the example given, or whether it is just a character. Doesn't matter here, neither interpretation is what you seem to expect it to mean. Further, and probably worse here, is that you didn't bother to provide your "shellbug" test script, so no-one can see what you're actually doing, and repeat it for themselves. If there was an actual bug here, perhaps one of the people running a pre-release of bash 5.1 could determine if the bug still exists there or had already been fixed (but there isn't likely to be any bug here, so that probably doesn't matter). But without it we cannot see if you're driving bash correctly to even have an outside chance of your extended glob patterns working (bash supports some of those extensions, but not by default). That lack didn't matter for the NetBSD sh bug report, as it was obvious you were attempting non-standard extensions, that we simply don't support. It does matter here. kre