On 20 June 2013 00:43, Greg Wooledge <[email protected]> wrote: > On Thu, Jun 20, 2013 at 12:39:56AM +0800, Chris Down wrote: >> On 20 June 2013 00:29, DJ Mills <[email protected]> wrote: >> > wordsplitting and pathname expansion do not occur within the >> > [[ keyword. >> >> $ > foo >> $ [[ foo == * ]] && echo bar >> bar > > That's pattern matching, which is neither word splitting nor pathname > expansion.
Interesting, that's a misconception about RHS matching I've held for a while now then. Thanks for pointing it out.
