delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/20/10:47:26

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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.0.0.22.0.20031120104014.03872e98@127.0.0.1>
X-Sender:
Date: Thu, 20 Nov 2003 10:45:08 -0500
To: Wirawan Purwanto <wirawan AT camelot DOT physics DOT wm DOT edu>,
Morche Matthias <Matthias DOT Morche AT szm DOT de>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: RE: Problem with noninteractive bash initialization
Cc: cygwin AT cygwin DOT com
In-Reply-To: <Pine.LNX.4.50.0311201032100.9948-100000@wirawan0.lan>
References: <D7FBE8A336018A4EB5EBDC6C898821930536E304 AT HUELVA DOT belgium DOT fhm DOT de>
<Pine DOT LNX DOT 4 DOT 50 DOT 0311201032100 DOT 9948-100000 AT wirawan0 DOT lan>
Mime-Version: 1.0

Perhaps.  But it's more likely to be something local in your environment.  
As stated in <http://cygwin.com/ml/cygwin/2003-11/msg00787.html>, your 
problem is not reproducible generally so you're going to need to dig a little 
deeper to find its source.

Larry

At 10:38 AM 11/20/2003, Wirawan Purwanto you wrote:
>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
>
>On Thu, 20 Nov 2003, Morche Matthias wrote:
>
>> Dunno where Your read, but the document You referenced says: "When an
>> interactive shell that is not a login shell is started, Bash reads and
>> executes commands from `~/.bashrc', if that file exists."
>> 
>>   matthias
>> 
>> 
>> > -----Original Message-----
>> > From: Wirawan Purwanto [mailto:wirawan AT camelot DOT physics DOT wm DOT edu]
>> > Sent: Wednesday, November 19, 2003 9:47 PM
>> > To: cygwin AT cygwin DOT com
>> > Subject: Problem with noninteractive bash initialization
>> > 
>> > 
>> > Hi,
>> > 
>> > How should a noninteractive bash begin (i.e. for executing a 
>> > script)?  
>> > Should bash read init files like ~/.bashrc, ~/.bash_profile, or
>> > /etc/profile? According to bash documentation on
>> > 
>> >   http://www.gnu.org/manual/bash-2.05a/html_mono/bashref.html#SEC62 ,
>> > 
>> > NO initialization files would be read. But cygwin's bash (version
>> ..
>> 
>
>--
>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/


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019