[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 5/8] builtins/source: parse the -i option
From: |
Matheus Afonso Martins Moreira |
Subject: |
Re: [PATCH v2 5/8] builtins/source: parse the -i option |
Date: |
Sat, 18 May 2024 15:41:50 +0000 |
> I am xing fingers the consensus, if any of theses takes off,
> is to have the -i implemented (not omitted)
Me too. Do you know anyone else who could be impacted?
Consensus might move in that direction if more voices make
themselves heard on this list.
> if one, distro, sysadmin, and ultimatly the user
> fiddle with BASH_SOURCE_PATH in the ENV (*rc files),
> changing the good'ol 'source' behavior,
> it would be a serious regression to me.
That's exactly what I mean.
> So to me BASH_SOURCE_PATH enablement must be guarded by a never used yet
> option to 'source or dot' (here -i apparently)
Agree.
I initially chose -l which stands for library
but that terminology proved problematic.
So I chose -i which stands for isolated,
the option "isolates" source to only the
directories defined in the new variable.
Maybe there's a better word/character.
Naming things is hard.
> and an enforcement that no alias
> source='source -i' could ever be possible.
I don't really have any objections to that
but I'd say there are probably too many
ways for people to get around such a filter.
It would probably be ineffective.
-- Matheus
- Re: [PATCH v2 5/8] builtins/source: parse the -i option, Matheus Afonso Martins Moreira, 2024/05/14
- Re: [PATCH v2 5/8] builtins/source: parse the -i option, Matheus Afonso Martins Moreira, 2024/05/18
- Re: [PATCH v2 5/8] builtins/source: parse the -i option, Greg Wooledge, 2024/05/18
- Re: [PATCH v2 5/8] builtins/source: parse the -i option, Lawrence Velázquez, 2024/05/18
- Re: [PATCH v2 5/8] builtins/source: parse the -i option, Matheus Afonso Martins Moreira, 2024/05/18
- Re: [PATCH v2 5/8] builtins/source: parse the -i option, Phi Debian, 2024/05/19
- Re: [PATCH v2 5/8] builtins/source: parse the -i option, Matheus Afonso Martins Moreira, 2024/05/19
- Re: [PATCH v2 5/8] builtins/source: parse the -i option, Phi Debian, 2024/05/20
- Re: [PATCH v2 5/8] builtins/source: parse the -i option, Chet Ramey, 2024/05/20
- Re: [PATCH v2 5/8] builtins/source: parse the -i option, Chet Ramey, 2024/05/20
Re: [PATCH v2 5/8] builtins/source: parse the -i option, Robert Elz, 2024/05/18