delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
content-class: | urn:content-classes:message |
MIME-Version: | 1.0 |
X-MimeOLE: | Produced By Microsoft Exchange V6.0.6375.0 |
Subject: | RE: Problem with noninteractive bash initialization |
Date: | Thu, 20 Nov 2003 17:06:29 +0100 |
Message-ID: | <D7FBE8A336018A4EB5EBDC6C898821930536E30C@HUELVA.belgium.fhm.de> |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
From: | "Morche Matthias" <Matthias DOT Morche AT szm DOT de> |
To: | <cygwin AT cygwin DOT com>, "Wirawan Purwanto" <wirawan AT camelot DOT physics DOT wm DOT edu> |
X-OriginalArrivalTime: | 20 Nov 2003 16:06:30.0779 (UTC) FILETIME=[42CB24B0:01C3AF80] |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id hAKG71aF023544 |
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:wirawan AT camelot DOT physics DOT wm DOT edu] > Sent: Thursday, November 20, 2003 4:38 PM > To: Morche Matthias > Cc: cygwin AT cygwin DOT com > 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |