3 ms·
Your original claim is disingenuous. Of course cond = false if cond; then x; else (if cond; then echo msg); fi does not do the same thing as cond = tr
by Ferret7446 4y ago
Your original claim is disingenuous.
Of course
cond = false
if cond; then x; else (if cond; then echo msg); fi
does not do the same thing as
cond = true
if cond; then (if cond; then echo msg); else x; fi
Bash is not somehow strange in this regard.
- dataflow 4y agoThere's neither anything disingenuous about my claim. Bash's behavior is quite unique and unexpected to most people in the examples I showed. And I don't appreciate the attack.