bug#61128: [PATCH] Use complementation correctly in shell globs

2023-01-29 Thread Håkon Løvdal
This looks good to me. While shells often accept both ! and ^ (https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#Pattern-Matching: "3.5.8.1 Pattern Matching ... "[…]" Matches any one of the enclosed characters. ... If the first character following the ‘[’ is a ‘!’ or a ‘^’ then any c

bug#61128: [PATCH] Use complementation correctly in shell globs

2023-01-28 Thread Kerin Millar
Hello, The attached patch rectifies a spurious test failure reported at https://bugs.gentoo.org/890869. As explained by the commit message, the exclamation mark character should be used to perform negations within bracket expressions, not the circumflex character. -- Kerin Millar 0001-Use-c