re: Bash from scratch: learn enough bash to write your own scripts VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Hey, Glad you liked it! Using uppercase variable names is a naming convention you'll see in most scripts out there. You can chose a different con...
 

Using uppercase is a convention for variables from the parent environment. Lowercase for variables that are local to our script.
I see people use uppercase all the time, but it's usually just because a lot of scripts don't need local variables and that's how they learnt.
I mean, it doesn't really matter... but I am the cheerleader for Team Lowercase.

code of conduct - report abuse