Updated SC2291 (markdown)

Eisuke Kawashima
2025-07-29 10:40:25 +09:00
parent c95a7f1b97
commit e33cf5f6f5

@@ -16,14 +16,14 @@ echo "Hello World"
ShellCheck found multiple unquoted spaces between words passed to `echo`. Due to the way arguments are interpreted and passed in the shell, these will collapse into a single space: ShellCheck found multiple unquoted spaces between words passed to `echo`. Due to the way arguments are interpreted and passed in the shell, these will collapse into a single space:
``` ```console
$ echo Hello World $ echo Hello World
Hello World Hello World
``` ```
If you want to output multiple spaces, such as when creating a notice or banner, make sure the spaces are quoted, e.g. by adding (or extending) double quotes to include them: If you want to output multiple spaces, such as when creating a notice or banner, make sure the spaces are quoted, e.g. by adding (or extending) double quotes to include them:
``` ```console
$ echo "Hello World" $ echo "Hello World"
Hello World Hello World
``` ```