bug-bash
[Top][All Lists]
Advanced

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

Re: proposed BASH_SOURCE_PATH


From: Chet Ramey
Subject: Re: proposed BASH_SOURCE_PATH
Date: Thu, 16 May 2024 11:58:53 -0400
User-agent: Mozilla Thunderbird

On 5/16/24 7:02 AM, Martin D Keale

(1) it's barely tolerable to add more action-at-a-distance by introducing a new variable; but adding *invisible* action at a distance is a language design antipattern. Having `-i` on the `source` command documents that new behaviour is expected.

What `invisible' action? You have to actually set the variable to use it.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

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