Replies: 1 comment 2 replies
-
|
Good question, and your understanding is correct. In Bash this is expected behavior, not an error. Double quotes expand variables, while single quotes treat everything literally. For example as you mentioned |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Reviewing examples from Chapter 5 - 6.
Most commands including 'echo' are showing literal strings using single quotations ' '
Which affects variables.
Based on the documentation I could find, isn't this an error or am I flunking my understanding of string literals?
Beta Was this translation helpful? Give feedback.
All reactions