Merge pull request #776 from abdslam01/main

fix: correct spelling and punctuation in Bash comments section
This commit is contained in:
Fechin authored and GitHub committed 2026-10-03 11:33:19 +08:00
commit 82cbc0929f
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}