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 marc.herbert+n...@gmail.com 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

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. I am

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

2009-08-05 Thread Marc Herbert
John Reiser a écrit : On 08/04/2009 12:48 AM, fam...@icdsoft.com wrote: 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... The problem

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

2009-08-04 Thread famzah
Configuration Information [Automatically generated, do not change]: Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale'

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

2009-08-04 Thread John Reiser
On 08/04/2009 12:48 AM, fam...@icdsoft.com wrote: 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... The problem is that Bash

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 script file with a newer