delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/14/14:28:24

X-Spam-Check-By: sourceware.org
Message-ID: <8971714.post@talk.nabble.com>
Date: Wed, 14 Feb 2007 11:27:56 -0800 (PST)
From: petermosca <me AT petermosca DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] shell commands won't run from within a shell script bash version 3.2.9-11
In-Reply-To: <MissingID.5df80591b72d9bc38c650c3abbdf2858d306e992@nabble.com>
MIME-Version: 1.0
X-Nabble-From: me AT petermosca DOT com
References: <MissingID DOT 5df80591b72d9bc38c650c3abbdf2858d306e992 AT nabble DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

I get a slightly different result:

: command not foundnv

It's as if the "e" in "env" is gobbled up somehow.


Randy-37 wrote:
> 
> When I start the cygwin window I can run commands such
> as env and cd or anything else i have tried.  however when 
> i try to run a shell script with commands inside it, none of
> the commands within the script will execute properly.  
> 
> for instance
> 
> test.sh contains 1 line 
> env
> 
> when it executes the following message is produced:
> 
> : command not found env
> 
> I just did a scratch install today. 
> 
> 
> Thanks,
> 
> Randy Rainwater
> 
> 
> 
> --
> 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/
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/shell-commands-won%27t-run-from-within-a-shell-script-bash-version-3.2.9-11-tf3221512.html#a8971714
Sent from the Cygwin Users mailing list archive at Nabble.com.


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