问题
Is bash shell scripting case sensitive?
Is variable date the same as DATE?
回答1:
Yes, it is case sensitive, just like the rest of UNIX. $date and $DATE are two different variables. makefile and Makefile are two different files. -h and -H are two distinct flags (usually).
来源:https://stackoverflow.com/questions/15571706/bash-variables-case-sensitive-or-not