Skip to content

Commit

Permalink
[bash/en] correct comment grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
verhovsky committed Dec 4, 2024
1 parent 52463c3 commit 5998967
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bash.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5998967

Please sign in to comment.