delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/10/13:59:58

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
X-Lotus-FromDomain: JPMORGAN AT SMTP
From: "Noel L Yap" <yap_noel AT jpmorgan DOT com>
To: cygwin AT sources DOT redhat DOT com
Message-ID: <85256937.0059FBAD.00@nyc-ntgw-n01.ny.jpmorgan.com>
Date: Thu, 10 Aug 2000 12:22:54 -0400
Subject: Re: Some comment about Cygwin1.1.4
Mime-Version: 1.0

I've seen code like the following:
expr "$?path" = "1" > /dev/null && source /opt/bin/0ENV.csh \
        || [ "`type Load 2>&1`" = "Load not found" ] && . /opt/bin/0ENV.sh

I know for sure that this doesn't work for bash, but it should be trivial to
make it work.

Noel




cgf AT cygnus DOT com on 2000.08.10 10:50:48

Please respond to cygwin AT sources DOT redhat DOT com

To:   cygwin AT sources DOT redhat DOT com
cc:   (bcc: Noel L Yap)
Subject:  Re: Some comment about Cygwin1.1.4




On Thu, Aug 10, 2000 at 07:22:12AM -0700, Earnie Boyd wrote:
>--- Chris Faylor <cgf AT cygnus DOT com> wrote:
>> On Tue, Aug 08, 2000 at 10:33:00AM -0400, Noel L Yap wrote:
>> >What's the behaviour of this when running csh or tcsh?
>>
>>Who knows?  Who cares?  This is intended to distinguish between ash and
>>bash.
>
>I care.  I'll try to work something up before the weekend.

You actually have a script which needs to run under tcsh, ash, and bash?
bash and tcsh use different names for their startup scripts so I'm not
sure why you'd need this.

cgf

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








This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its
subsidiaries and affiliates.


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