[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with bash script loading
From: |
Chet Ramey |
Subject: |
Re: problem with bash script loading |
Date: |
Sat, 29 Dec 2018 10:20:15 -0600 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 |
On 12/29/18 6:09 AM, Paulo Nogueira wrote:
>
>
> Bash Version: 4.4
> Patch Level: 19
> Release Status: release
>
> Description:
>
> I've come to the conclusion that bash scripts
>
> (1) are not entirely loaded in memory at once
>
> or, at least,
>
> (2) are re-read (from the disk?) if the file is updated
>
> Something tells me this is a really bad idea (if it turns
> out to be a "feature" and not a bug), because if a script
> is launched with "&" and then the file is edited/updated,
> the result will be unpredictable.
http://lists.gnu.org/archive/html/bug-bash/2018-09/msg00023.html
--
``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/