What is a convention for naming a constant in Bash?
问题 In shell scripting, even though I use Java or Python style naming convention, I am still unclear about naming a constant. Many conventions suggest me to use "capital letter" together with "underscore" for naming a constant e.g. MY_CONSTANT , PI . But in Bash , this may conflict with environment variables. So, what is the right naming convention for Bash constants? 回答1: Good question! Together with the question you are linking, there is another related question in Unix & Linux: Are there