2 ms·
* What is the difference between `=` and `==` in `if [ $FOO == ...`? * What is evaluated first, file globs or variable expansion? Both are things that you mig
by IshKebab 4y ago
* What is the difference between `=` and `==` in `if [ $FOO == ...`?
* What is evaluated first, file globs or variable expansion?
Both are things that you might need to look up once in a lifetime. If you're getting to the point that are memorising rules like these, then you're writing too much Bash and should switch to a more robust language.