On Jan 18, 5:22 am, Greg Wooledge <wool...@eeg.ccf.org> wrote: > On Wed, Jan 18, 2012 at 01:19:20PM +0900, Teika Kazura wrote: > > If the > > entire script is read at invocation, then why should / does > > modification affect? Is it a bug? > > The entire script *isn't* read at invocation. Bash just reads a little > bit at a time, as needed.
Interestingly, on many Linux systems this allows one to check (crudely) how far a script has progressed by looking at /proc/<pid>/ fdinfo/255.