Chet Ramey wrote:
> Bob Proulx wrote:
> >Of course that makes sense for the "==" and "!=" cases. But is that
> >true even for the "=" case? For the "=" case I thought it was
> >"STRING1 = STRING2" and not "STRING = PATTERN".
>
> `=' and `==' are always equivalent. When used in the test/[ command,
> they match strings. In the [[ conditional command, they match patterns.
Ah..., so the real underlying issue was actually the use of [[ ... ]]
instead of [ ... ] which had escaped my attention and changed the
meaning. The trace output wouldn't have quoted the right hand side
parts if [ ... ] had been used. Gotcha.
Thanks
Bob