mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-06 14:56:54 +02:00
Follow variable capitalization on this branch.
This commit is contained in:
@@ -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.)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user