This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Problem with noninteractive bash initialization

Hi Wirawan,

the section "Invoked non-interactively" of ""; 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.


> -----Original Message-----
> From: Wirawan Purwanto []
> Sent: Thursday, November 20, 2003 4:38 PM
> To: Morche Matthias
> Cc:
> 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:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]