Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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/