Linda Walsh writes: > Pattern matching? Why doesn't '*' match anything then?
I've no idea what you're doing, but: $ var='*bar*' $ [[ abarb = $var ]] $ echo $? 0 $ [[ aquxb = $var ]] $ echo $? 1
pgpUZ39g3TPmc.pgp
Description: PGP signature
Linda Walsh writes: > Pattern matching? Why doesn't '*' match anything then?
I've no idea what you're doing, but: $ var='*bar*' $ [[ abarb = $var ]] $ echo $? 0 $ [[ aquxb = $var ]] $ echo $? 1
pgpUZ39g3TPmc.pgp
Description: PGP signature