diff --git a/SC1014.md b/SC1014.md index 07925b0..872aff6 100644 --- a/SC1014.md +++ b/SC1014.md @@ -28,7 +28,7 @@ If you want to check the exit status of a certain command, use that command dire If you want to check the output of a command, use `"$(..)"` to get its output, and then use `test` or `[`/`[[` to do a string comparison: -``` +```sh # Check output of `whoami` against the string `root` if [ "$(whoami)" = "root" ] then