3 ms·
Problem is you have to fork subshells if here is any sequencing involved. Compare if condition ; then command1 command2 else command3 comma
by kazinator 6y ago
Problem is you have to fork subshells if here is any sequencing involved. Compare
if condition ; then
command1
command2
else
command3
command4
fi
versus:
condition && (command1; command2) || (command3; command4)
GNU Bash has a fix for that: non-forking braces.
- deleted 6y ago[deleted]