delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/07/11:01:50

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
X-Spam-Score: -90.929
Message-ID: <49B29A55.1080005@sh.cvut.cz>
Date: Sat, 07 Mar 2009 17:01:25 +0100
From: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= <v DOT haisman AT sh DOT cvut DOT cz>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: problem under cygwin with sh, bash, ksh
References: <200903060726 DOT 35848 DOT iamsamm AT sammiam DOT us>
In-Reply-To: <200903060726.35848.iamsamm@sammiam.us>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Hubert Samm wrote, On 6.3.2009 14:26:
> Hi All...  I've searched and found nothing....  this script runs just fine on 
> AIX, Solaris, and Linux, but under cygwin, the array VALUE prints only 
> blanks.. has anyone else run into this... I've tried a bunch of different 
> things around typecast, etc, but it looks like VALUE is local in the table_it 
> function...  any thoughts???
>[...]
Have you tried debugging it using the -x switch to see what is going on?
Simple test case of setting VALUE[0]=$1 and then echoing "${VALUE[0]}" does
print what I give it, using bash.

--
VH

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