↧
Answer by don_crissti for bash [[ = ]] behaviour
= is the same as == when inside [[...]]. As per the more recent man page, under SHELL GRAMMAR > Compound Commands > [[ expression ]]: The = operator is equivalent to == and further down, under...
View Articlebash [[ = ]] behaviour
man bash: [[ expression ]] [...] Expressions are composed of the primaries described below under CONDITIONAL EXPRESSIONS. Word splitting and pathname expansion are not performed on the words between...
View Article