From 50e236f148c760089cd21f1ba584607c547614e6 Mon Sep 17 00:00:00 2001 From: Abdessalam Bahafid <59281502+abdslam01@users.noreply.github.com> Date: Sat, 27 Jun 2026 14:59:13 +0100 Subject: [PATCH] fix: correct spelling and punctuation in Bash comments section --- source/_posts/bash.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/source/_posts/bash.md b/source/_posts/bash.md index 6b5a12b2..41e0e471 100644 --- a/source/_posts/bash.md +++ b/source/_posts/bash.md @@ -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}