Yes bash is quite convenient to archive some tasks.
I had trouble finding the syntax to override environment variable.
Here is a simple way to make to do it:
- set default environment variables (recommendation = pointing to stable code)
- make override config file a parameter
- add this to make config override working (config is argument 4):