I am looking to sell scripts I made in perl, obj c, c++, python, ruby, bash, php, etc etc etc
They are all ran in the terminal. (Linux)
How can I lock the source code, so my scripts can be distributed without people having access to the source codes..?
In other words, how do you lock the Source Code of a program that is run in Terminal, in so that people can use the program, if the code is downloaded onto their Linux machine, but the actual source code is not accessible to them?
Example:
example.pl is a document saved on the Linux Computer, and can be activated with Terminal. But if the user clicks on the actual example.pl document, they can see the actual code. Is it possible to lock this document, but still allow the user to run the program within terminal?
No, it’s not. If the computer can read it, the user can read it. The best you can do is obfuscation — you can look it up for your particular language, but there’s no such thing as perfect obfuscation, either. Just take out all the spaces, change all your identifiers to single letters, and put a license on it.