bug-bash
[Top][All Lists]
Advanced

[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: Wed, 15 May 2024 12:33:34 +0800

On Wed, May 15, 2024 at 7:16 AM Martin D Kealey <martin@kurahaupo.gen.nz> wrote:

> I'm concerned that doing both would introduce an entirely new dichotomy for 
> programmers to have to remember, so perhaps "skip path searching" should be 
> controlled by a separate switch, perhaps '-s'?

No.  `source` already searches PATH when ./ isn't provided.  That's
already intuitive.

In C, you don't specify ./ as well when referring to relative paths in
#include.  No one should ever get used to using ./ when referring to
relative paths.


-- 
konsolebox



reply via email to

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