delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/28/14:39:44

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <C322F78942E6D311AF8800D0B73C4FD8830D30@CUPEX3.rational.com>
From: "Masterson, Dave" <dmasters AT rational DOT com>
To: "'cygwin AT sources DOT redhat DOT com'" <cygwin AT sources DOT redhat DOT com>
Subject: /etc/profile in BASH
Date: Thu, 28 Sep 2000 11:37:27 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

Question:

In Cygwin 1.1, why are the last two lines of the installed /etc/profile the
following?

	test -f ./.profile && . ./.profile
	test -f ./.bashrc && . ./.bashrc

As described in the BASH MAN page, it would seem that BASH does this already
after reading /etc/profile.  Is this required because of the implementation
of Cygwin on MS-Windows?

David Masterson
*	Rational Software
*	18880 Homestead Rd.
*	Cupertino, CA  95014
*	(408) 863-5150
*	dmasters AT rational DOT com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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