Le 20/06/2024 à 05:25, Oğuz écrivait :
What I'm saying there is name it main and execute like `./main'. I'm not against having a variable that's automatically populated with the parent directory of the source script, I just don't need it and it wasn't what we were discussing.
Would it be a valid option, then to make BASH_SOURCE contain the real path in all circumstances?
-- Léa Gris