delorie.com/archives/browse.cgi | search |
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 |
Date: | Thu, 8 Mar 2001 14:38:24 +0100 |
From: | Corinna Vinschen <cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: bash variable don't substitute. Why ? |
Message-ID: | <20010308143824.B28539@cygbert.vinschen.de> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <91B7489E630CD311AC7300805FC70577036D8F11 AT mail DOT axa-seguros-pt DOT intraxa> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.2.5i |
In-Reply-To: | <91B7489E630CD311AC7300805FC70577036D8F11@mail.axa-seguros-pt.intraxa>; from CORETO03@axa-seguros.pt on Thu, Mar 08, 2001 at 09:51:27AM -0000 |
On Thu, Mar 08, 2001 at 09:51:27AM -0000, CORETO - Rui Anast?cio wrote: > > Hi ! > > I have installed the lattest version of cygwin. But my $vars dont > substitute :( > > -TEST---------------------------------------------- > $ cat t.bat > echo $PATH > ls $1 -l > > > $ ./t.bat /home > > C:\cygwin\home\coreto03>echo $PATH > ls $1 -l > > $PATH > ls $1 -l > > > > coreto03 AT CORETO03 ~ > ----------------------------------------------------- > > Help !!! Don't name the file `t.BAT' since it's using CMD/COMMAND for execution. Name it `t.sh' or just `t'. And prepend the following line to the script: #!/bin/sh or #!/bin/bash whatever you want to call. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |