mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
fix typo bash.html.markdown
This commit is contained in:
parent
6955861bba
commit
7f1dc6ce2b
@ -91,7 +91,7 @@ echo ${#Variable} # => 11
|
||||
# Indirect expansion
|
||||
OtherVariable="Variable"
|
||||
echo ${!OtherVariable} # => Some String
|
||||
# This will expand the value of the OtherVariable
|
||||
# This will expand the value of OtherVariable
|
||||
|
||||
# Default value for variable
|
||||
echo ${Foo:-"DefaultValueIfFooIsMissingOrEmpty"}
|
||||
|
Loading…
Reference in New Issue
Block a user