From 599896735bb0e2d12046d2c5b5ef3c9996436241 Mon Sep 17 00:00:00 2001 From: Boris Verkhovskiy Date: Tue, 3 Dec 2024 17:38:07 -0700 Subject: [PATCH] [bash/en] correct comment grammar --- bash.html.markdown | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bash.html.markdown b/bash.html.markdown index 7fda26b0..ad784ef4 100644 --- a/bash.html.markdown +++ b/bash.html.markdown @@ -64,8 +64,9 @@ echo "$variable" # => Some string echo '$variable' # => $variable # When you use a variable itself — assign it, export it, or else — you write # its name without $. If you want to use the variable's value, you should use $. -# Note that ' (single quote) won't expand the variables! -# You can write variable without surrounding quotes but it's not recommended. +# Note that ' (single quote) won't expand variables! +# You can write variables without surrounding double quotes but it's not +# recommended due to how Bash handles variables with spaces in them. # Parameter expansion ${...}: echo "${variable}" # => Some string