On Fri, 2024-Feb-16, Zachary Santer wrote:
On Fri, Feb 16, 2024, Marc Aurèle La France wrote:On Mon, 2021-Feb-01, Marc Aurèle La France wrote:
Currently, only the script's arguments are passed as positional parameters. For compatibility reasons, $0 cannot be used to also pass the script's filename, so I'm creating a new BASH_SCRIPT variable instead.
And you're sure ${BASH_SOURCE[0]} wasn't what you wanted all along?
Yes, but that doesn't matter now. Marc.