3 ms·
# Not this: if [[ "${my_var}X" = "some_stringX" ]]; then do_something fi Why would anybody write this?
by amptorn 8y ago
# Not this:
if [[ "${my_var}X" = "some_stringX" ]]; then
do_something
fi
Why would anybody write this?
- tobylane 8y agoThey learned that $null = test is bad, that $a = $b is bad, but didn't learn that you do either x$null = xtest or "$a" = "$b", not both.