This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: export arrays from cygwin ksh


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]