mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-14 02:34:17 +02:00
fix typo bash.html.markdown
This commit is contained in:
committed by
Andrew Ryan Davis
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"}
|
||||
|
Reference in New Issue
Block a user