Le 28/04/2010 00:37, Glenn Fowler a écrit :
<snip>
the issue is not the [[ ... ]] vs [ ... ] test operators
but instead the character class pattern
[x\]y]
which is in posix, which states: the \ in that pattern is literal
so the pattern matches either of the literal sh strings
not seen that part, thank for the explanation, and of course,
a close bracket in a character class should be at the beginning
as well as an open bracket and the dash such as in [-][].
Regards,
Cyrille Lefevre
--
mailto:[email protected]
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users