X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
Subject: RE: Problem when using variable assignment, backticks in shell script
Date: Tue, 29 Aug 2006 22:51:58 +0100
Message-ID: <039701c6cbb5$59d1f950$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <017630AA6DF2DF4EBC1DD4454F8EE29708DCE37C@rsana-ex-hq1.NA.RSA.NET>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 29 August 2006 22:00, Silva, Russell wrote:

> Hi Dave,
> 
> I tried this; it's an excellent point but isn't the problem.  I
> experimented using your script version and $? is indeed set to 0 when
> the backtick output is empty.
> 
> I'd be happy to hear more suggestions.  I also need to try this on
> another machine (my home box, perhaps) to see if it's reproducible on
> other machines.  Have you tried any of these scripts to see if it's a
> problem general to Cygwin users?

  Yep, I tried

>> <bug_reproduce3.sh>

before I thought about modifying it.  Didn't get the error to occur.  Will run
it a few more times and see.  Am using self-built version of cygwin1.dll from
20060720.  I'll see what happens with a more recent version as well.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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

