Are there good practices or preferred industry standard conventions on how to name (what would be named by default as) a.out files, especially in terms of their extensions? If it depends on the platform, I’d like to know especially for Linux. Technically I won’t even need an extension, and most modern shell helps identify executable files by green color, nevertheless
Tag: naming-conventions
Bash command to check if the variable name is valid
and so on the variable name can have only letters , numbers (but not on the beginning),.. and like all the rules for java… Is there any function that I can use ? I do not want to reinvent the wheel… Answer Match the variable name against a regex, like this:
naming convention for shell script and makefile
I have a few makefiles that store shared variables, such as CC=gcc , how should I name them? The candidates are: .. which is more classic? Is there a standard? Similarly, I have some shell scripts, which should i choose among the following: Is there a generally accepted ‘case’ and suffix for these? Answer What you’ve got are the bits