4 ms·This works the same as your example in bash. foobar || { echo fail; }by hhvn 6y agoThis works the same as your example in bash. foobar || { echo fail; }