X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: mwoehlke <mwoehlke@tibco.com>
Subject:  Re: export arrays from cygwin ksh
Date:  Tue, 23 May 2006 10:46:53 -0500
Lines: 24
Message-ID: <e4vapd$7f6$1@sea.gmane.org>
References:  <loom.20060523T132435-985@post.gmane.org> <e4va8l$5rt$1@sea.gmane.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 1.5.0.2 (X11/20060420)
In-Reply-To: <e4va8l$5rt$1@sea.gmane.org>
X-IsSubscribed: yes
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

mwoehlke wrote:
> bob wrote:
>> I have an hp unix script that runs in ksh and am porting it to PC.  It 
>> uses and exports arrays in hp unix.  Does not seem to work in cygwin.  
>> Can anybody offer suggestions to accomodate?  I tried to put an 
>> example below, but I was labeled a top poster and it would not let me 
>> do it.  
> 
> It does seem like this doesn't work - at least, not how I would expect 
> it to - on bash (either on Cygwin or on Linux).

Oh, ok, it doesn't work in bash:

GNU Bash-3.0
...
BUGS
    ...
    Array variables may not (yet) be exported.

(Hmm... bugs: "it's too big and slow"?)

-- 
Matthew
Interix, Sphinterix. Cygwin apps don't crash. :-)


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

