mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 10:01:38 +00:00
Follow variable capitalization on this branch.
This commit is contained in:
parent
e2ca2c9550
commit
aa11cc659d
@ -40,9 +40,9 @@ VARIABLE = "Some string"
|
|||||||
# because it can't be found.
|
# because it can't be found.
|
||||||
|
|
||||||
# Or like this:
|
# Or like this:
|
||||||
Variable= 'Some string'
|
VARIABLE= 'Some string'
|
||||||
# Bash will decide that 'Some string' is a command it must execute and give an
|
# Bash will decide that 'Some string' is a command it must execute and give an
|
||||||
# error because it can't be found. (In this case the 'Variable=' part is seen
|
# error because it can't be found. (In this case the 'VARIABLE=' part is seen
|
||||||
# as a variable assignment valid only for the scope of the 'Some string'
|
# as a variable assignment valid only for the scope of the 'Some string'
|
||||||
# command.)
|
# command.)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user