bug-bash
[Top][All Lists]
Advanced

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

Re: proposed BASH_SOURCE_PATH


From: Oğuz
Subject: Re: proposed BASH_SOURCE_PATH
Date: Thu, 16 May 2024 15:37:14 +0300

On Wednesday, May 15, 2024, Chet Ramey <chet.ramey@case.edu> wrote:

> is it more common to have
> something like the script in somewhere/bin, files to be sourced in
> somewhere/lib, and so on?


Not sure how common but this is what makes sense. Or name sourceables
foo.sh, bar.sh and executables foo, bar so they don't clash and source with
`${BASH_SOURCE%/*}' prepended to PATH and it'll work fine.

This feature request sounded promising at first, it feels like
bike-shedding now.


-- 
Oğuz


reply via email to

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