Hi Wirawan, the section "Invoked non-interactively" of "http://www.gnu.org/manual/bash-2.05a/html_mono/bashref.html#SEC62" describes the differences to the other forms of invoking bash. There is no reference to the .bashrc startup script. That states only that there is no other invoking of startupscripts than in the sections above.
~/.bashrc IS executed and that IS the prescribed behavior and is has been ever since. You can avoid this by calling "bash --norc scriptfile" or "bash --rcfile rcfile scriptfile". But I think too, it would have been more accurate to mention the invoking of ~/.bashrc explicitly. matthias > -----Original Message----- > From: Wirawan Purwanto [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 20, 2003 4:38 PM > To: Morche Matthias > Cc: [EMAIL PROTECTED] > Subject: RE: Problem with noninteractive bash initialization > > > Yes, BUT I suppose that the shell used for executing a script is a > NON-interactive shell, because it doesn't take _commands_ > from the user, > rather from the script. Isn't this right? Therefore it does > not agree with > the prescribed behavior in the documentation. > > Wirawan > ... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/