Closed itJunky closed 2 years ago
Hello,
What a nice topic to discuss and create a flame war xD
Note that it is just style, there is people that can agree to use .sh extension and others disagree, but not really transcendent, don't care too much for me...
A point to use .sh extension: It allows a human to know directly by the name that it is a shell script.
A point to don't use .sh extension: It increase the file name with a not really pretty extension and also add confusion and complexity to what interpreter should the user use if the user are not familiar with shell scripts (of course the shebang line of the script will do this job for the user, but the user could not be familiar with that).
There is a some recommended style guides by Google, and it said that shell scripts that needs to be executed shouldn't use any extension and just keep the .sh extension for shell script libraries that are not going to be executed directly.
It doesn't care too much for me to change it or not, but just because I'm lazy and going to keep the current style for that script files (note that there is also other shell scripts in the projects, like status and kill).
Thanks, Best Regards.
Any files need antype for correct interpreting by humans and systems