Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" 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 Content-type: text/plain; charset=us-ascii Content-Disposition: inline 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 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