diff --git a/SC2235.md b/SC2235.md index 42bd0a4..c26d74c 100644 --- a/SC2235.md +++ b/SC2235.md @@ -22,7 +22,7 @@ For example, `(cmd)`, `(cmd;)` and `( cmd )` are all valid, but `{cmd}`, `{cmd;} Here's a small benchmark showing that the subshell version is more than 100x slower: -``` +```console $ i=0; time for i in {1..10000}; do ([ "$x" ] || [ "$y" ]) && [ "$z" ]; done real 0m7.122s user 0m4.204s @@ -34,8 +34,6 @@ user 0m0.055s sys 0m0.000s ``` - - ### Exceptions: None.