diff --git a/SC1099.md b/SC1099.md new file mode 100644 index 0000000..0c5b1f1 --- /dev/null +++ b/SC1099.md @@ -0,0 +1,23 @@ +## You need a space before the #. + +### Problematic code: + + while sleep 1 + do# show time + date + done + +### Correct code: + + while sleep 1 + do # show time + date + done + +### Rationale: + +ShellCheck has noticed that you have a keyword immediately followed by a `#`. In order for the `#` to start a comment, it needs to come after a word boundary such as a space. + +### Exceptions: + +None. \ No newline at end of file