mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-25 22:07:01 +00:00
fix issue #36
This commit is contained in:
parent
29902039d8
commit
3e6bbf7c20
@ -171,7 +171,7 @@ echo '$foo'
|
|||||||
# single quotes within double quotes will not cancel expansion and will be part of the output
|
# single quotes within double quotes will not cancel expansion and will be part of the output
|
||||||
echo "'$foo'"
|
echo "'$foo'"
|
||||||
# 'bar'
|
# 'bar'
|
||||||
# doubled single quotes act as double quotes making variables expand
|
# doubled single quotes act as if there are no quotes at all
|
||||||
echo ''$foo''
|
echo ''$foo''
|
||||||
# bar
|
# bar
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user