[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: proposed BASH_SOURCE_PATH
From: |
konsolebox |
Subject: |
Re: proposed BASH_SOURCE_PATH |
Date: |
Thu, 11 Jul 2024 15:51:49 +0800 |
On Thu, Jul 11, 2024 at 4:08 AM Chet Ramey <chet.ramey@case.edu> wrote:
> and the BASH_SOURCE
> absolute pathname discussion has been bananas, so that's not going in any
> time soon.
Maybe just create BASH_SOURCE_REAL instead to avoid the gripes.
https://gist.github.com/konsolebox/d9fb2fadd2b8b13d96d0aa7ebea836d9#file-bash-source-real-array-var-patch
This however introduces heavier changes.
I can already see people saying maybe keep this optional. I don't
like it because you have to store the context directories to be able
to consistently generate the values the moment the option is enabled.
The lazy method I mentioned earlier as well will probably introduce
more code than this for the same reason. It was only nice in theory.
--
konsolebox
- Re: proposed BASH_SOURCE_PATH, Chet Ramey, 2024/07/01
- Re: proposed BASH_SOURCE_PATH, konsolebox, 2024/07/03
- Re: proposed BASH_SOURCE_PATH, Chet Ramey, 2024/07/03
- Re: proposed BASH_SOURCE_PATH, konsolebox, 2024/07/03
- Re: proposed BASH_SOURCE_PATH, alex xmb sw ratchev, 2024/07/03
- Re: proposed BASH_SOURCE_PATH, Chet Ramey, 2024/07/07
- Re: proposed BASH_SOURCE_PATH, alex xmb sw ratchev, 2024/07/07
- Re: proposed BASH_SOURCE_PATH, Greg Wooledge, 2024/07/07
- Re: proposed BASH_SOURCE_PATH, Chet Ramey, 2024/07/10
- Re: proposed BASH_SOURCE_PATH,
konsolebox <=
- Re: proposed BASH_SOURCE_PATH, Chet Ramey, 2024/07/18
- Re: proposed BASH_SOURCE_PATH, konsolebox, 2024/07/18
- Re: proposed BASH_SOURCE_PATH, Chet Ramey, 2024/07/25
- Re: proposed BASH_SOURCE_PATH, alex xmb sw ratchev, 2024/07/29
- Re: proposed BASH_SOURCE_PATH, Martin D Kealey, 2024/07/07
- Re: proposed BASH_SOURCE_PATH, Oğuz, 2024/07/08
- Re: proposed BASH_SOURCE_PATH, Martin D Kealey, 2024/07/08
- Re: proposed BASH_SOURCE_PATH, alex xmb sw ratchev, 2024/07/08
- Re: proposed BASH_SOURCE_PATH, Phi Debian, 2024/07/08
- Re: proposed BASH_SOURCE_PATH, Oğuz, 2024/07/08