bug-bash
[Top][All Lists]
Advanced

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

Re: Bash 5.1: Make shell_script_filename available to startup files


From: Chet Ramey
Subject: Re: Bash 5.1: Make shell_script_filename available to startup files
Date: Mon, 8 Feb 2021 11:09:45 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.7.0

On 2/8/21 10:04 AM, Marc Aurèle La France wrote:

Yes, I could have all such scripts source a file when they start.  But isn't that just another startup file?  And duplication.  Or pass something through $1;  again duplication.  BASH_SCRIPT is a more elegant solution and doesn't require any intervention from the named script.

If I end up carrying this as a local change, that's fine too.  It wouldn't be the first time.

Anything more on this?

I haven't heard anyone else weigh in besides the two of us.


--
``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/



reply via email to

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