diff --git a/SC2233.md b/SC2233.md index fc6b4e7..39e5675 100644 --- a/SC2233.md +++ b/SC2233.md @@ -20,7 +20,7 @@ The shell syntax is `if cmd`, `elif cmd`, `while cmd` and `until cmd` without an ShellCheck has noticed that you're wrapping `(..)` around one or more test commands. This is unnecessary, and the resulting fork adds quite a lot of overhead: -``` +```console $ i=0; time while ( [ "$i" -lt 10000 ] ); do i=$((i+1)); done real 0m6.998s user 0m3.453s