Re: Bash does not read up the whole script which it is currently executing

2009-08-06 Thread Marc Herbert
Ivan Zahariev a écrit : > Same here, as Marc said. > > I think that usually we are reading the script from a file and this is > the use-case we must focus on. Currently, we have the problem I > described when executing a script from a file and I think this must be > fixed/changed. Hey, wait.

Re: Bash does not read up the whole script which it is currently executing

2009-08-06 Thread Ivan Zahariev
On Aug 5, 2:05 pm, Marc Herbert wrote: > I am not sure I get this... first of all, the script itself is usually > not read from stdin (but from fd 255 in bash). > > Now considering the seldom cases where the script is actually read from > stdin, are you saying that: it is a wanted feature that s

Re: Bash does not read up the whole script which it is currently executing

2009-08-05 Thread Marc Herbert
> make it disabled by default... >> >> The problem is that Bash does not read up the whole script which it is >> currently executing. >> As a result of this, if we update the script file with a newer version >> while it is running, this may lead to unpredicted resul

Re: Bash does not read up the whole script which it is currently executing

2009-08-04 Thread Greg Wooledge
On Tue, Aug 04, 2009 at 08:23:16AM -0700, John Reiser wrote: > On 08/04/2009 12:48 AM, fam...@icdsoft.com wrote: > > The problem is that Bash does not read up the whole script which it > > is currently executing. > > As a result of this, if we update the scr

Re: Bash does not read up the whole script which it is currently executing

2009-08-04 Thread John Reiser
Bash does not read up the whole script which it is currently executing. As a result of this, if we update the script file with a newer version while it is running, this may lead to unpredicted results. It is an intended design feature that the shell reads only as much as necessary to proce

Bash does not read up the whole script which it is currently executing

2009-08-04 Thread famzah
c-linux-gnu Bash Version: 3.2 Patch Level: 48 Release Status: release Description: First I would like to say that I'm not sure if this is a bug or a feature of Bash. If it is a feature, please let me know how to turn it off; or better make it disabled by default...