Bash variables: case sensitive or not?

点点圈 提交于 2021-02-06 14:21:38

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!