fix: correct spelling and punctuation in Bash comments section

This commit is contained in:
Abdessalam Bahafid committed 2026-06-27 14:59:13 +01:00
1 parent 1a758e10f4
commit 50e236f148
1 file changed
+6 -2
+6 -2
View File
@@ -50,9 +50,11 @@ NAME = "John" # => Error (about space)
### Comments
```bash
# This is an inline Bash comment.
# This is a signle-line (inline) Bash comment.
```
Single-line comments in Bash start with `#` and continue to the end of the line.
```bash
: '
This is a
@@ -61,7 +63,9 @@ in bash
'
```
Multi-line comments use `:'` to open and `'` to close
Multi-line comments use `:'` to open and `'` to close.
> **Note:** Bash does not have true multi-line comments. This works by passing a multi-line string to the no-op builtin `:` (colon), which ignores its argument.
### Arguments {.row-span-2}