delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/07/01:51:56

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Thu, 7 Nov 2002 07:51:37 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: bash-2.05b6 shell script fails
Message-ID: <20021107075137.E2180@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <BADF3C947A1BD54FBA75C70C241B0B9E90B9C7 AT ex02 DOT idirect DOT net>
Mime-Version: 1.0
In-Reply-To: <BADF3C947A1BD54FBA75C70C241B0B9E90B9C7@ex02.idirect.net>
User-Agent: Mutt/1.3.22.1i

On Wed, Nov 06, 2002 at 05:02:12PM -0500, Harig, Mark A. wrote:
> It appears to be a problem with command substitution.
> The following script fails also:
> 
> #!/bin/bash
> foo=foo1
> # simple assignment worked?
> bar=`echo`
> # command-substitution worked?
> 
> When run in bash-2.05b6, the following results:
> 
> $ uname -r
> 1.3.14(0.62/3/2)
> 
> $ ./bug.sh
> ./bug.sh: line 5: command-substitution: command not found

I just figured that it's a line ending problem.  It turned out that I
reintroduced the -4 bug mistakenly.  I'm going to uploaded a -7 version.

Thanks for the report,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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