bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/9] Add library mode to source builtin


From: Matheus Afonso Martins Moreira
Subject: Re: [PATCH 0/9] Add library mode to source builtin
Date: Wed, 08 May 2024 00:33:19 +0000

> I'm thinking of the theoretical case in which a user exports BASH_SOURCE_PATH
> then runs existing scripts - not necessarily of their own design
> that weren't counting on this feature to ever exist.

The option solution completely avoids that possibility.
Existing scripts do not pass any options to the source builtin.
No unexpected incompatibility should arise if it ignores
the new variable unless the option is passed.

  Matheus



reply via email to

[Prev in Thread] Current Thread [Next in Thread]