@reidrac Then don't put an extension on. Like I said, the entire point of the extension is to tell someone which interpreter to use on the command line.

Follow

@fozztexx @reidrac@social.sdf.org I understand what you are saying, but I respectfully disagree. In my experience, `.sh` 9 times out of 10 just means *some* type of Linux shell script. Even so, I think you need to check the first line to know which one.

The same is true for a `.py` file, is it Python2 or Python3... It's a python script for sure but don't assume the exact interpreter.

IMHO, file extensions are very useful, but they don't tell the whole story.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml