Re: export arrays from cygwin ksh

2006-05-24 Thread Thorsten Kampe
* mwoehlke (2006-05-23 16:37 +) 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). Maybe you should try ksh on Cygwin. He said he did. Read the subject of this thread. -- Unsubscribe info:

Re: export arrays from cygwin ksh

2006-05-24 Thread mwoehlke
Thorsten Kampe wrote: * mwoehlke (2006-05-23 16:37 +) 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). Maybe you should try ksh on Cygwin. He said he did. Read the subject of this thread. Sorry, my apologies...

RE: export arrays from cygwin ksh

2006-05-24 Thread Dave Korn
On 24 May 2006 09:24, Thorsten Kampe wrote: * mwoehlke (2006-05-23 16:37 +) 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). Maybe you should try ksh on Cygwin. He said he did. Read the subject of this thread.

export arrays from cygwin ksh

2006-05-23 Thread bob
Hi 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.

export arrays in cygwin ksh

2006-05-23 Thread bob
Help Trying to use ksh and export arrays in cygwin. It works on my unix workstation but not on PC cygwin. Any help would be appreciated. Tried to post earlier and it did not make it apparently. Thanks Bob #!/bin/ksh echo in test1 vname[1]=Dog vname[2]=Cat for i in 1 2 do echo vname[$i

Re: export arrays from cygwin ksh

2006-05-23 Thread Thorsten Kampe
* bob (2006-05-23 12:37 +) I have an hp unix script that runs in ksh and am porting it to PC. You mean you have a ksh script that runs on HP Unix? It uses and exports arrays in hp unix. Does not seem to work in cygwin. does not seem to work in Cygwin... To quote an immortal phrase: can

Re: export arrays from cygwin ksh

2006-05-23 Thread mwoehlke
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.

Re: export arrays from cygwin ksh

2006-05-23 Thread mwoehlke
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

Re: export arrays in cygwin ksh

2006-05-23 Thread Igor Peshansky
On Tue, 23 May 2006, bob wrote: Help Trying to use ksh and export arrays in cygwin. It works on my unix workstation but not on PC cygwin. Any help would be appreciated. Tried to post earlier and it did not make it apparently. Thanks Bob #!/bin/ksh echo in test1 vname[1]=Dog vname[2

Re: export arrays in cygwin ksh

2006-05-23 Thread bob
Two comments. One: the output above didn't come from PDKsh in Cygwin (and, most likely, didn't even come from the script you posted, since the export statement is on line 9 in your script). FYI, there is more than one ksh implementation in Cygwin, and you'll need to tell us more about

Re: export arrays in cygwin ksh

2006-05-23 Thread Igor Peshansky
On Tue, 23 May 2006, bob wrote: Two comments. One: the output above didn't come from PDKsh in Cygwin (and, most likely, didn't even come from the script you posted, since the export statement is on line 9 in your script). FYI, there is more than one ksh implementation in Cygwin, and

Re: export arrays in cygwin ksh

2006-05-23 Thread bob
The filenames may be case sensitive, too -- the executable is called pdksh.exe, not PDKsh.exe. However, if you had followed the Cygwin problem reporting guidelines at http://cygwin.com/problems.html, we would have known what packages you have installed on your system. I tried changing case

Re: export arrays in cygwin ksh

2006-05-23 Thread Jim Drash
I tried changing case but to no avail. there is no pdksh file in my cygwin/bin directory so I think I am out of luck w/ pdksh. use the Cygwin Setup program and install pdksh. It is not installed by default. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: export arrays in cygwin ksh

2006-05-23 Thread Igor Peshansky
On Tue, 23 May 2006, bob wrote: The filenames may be case sensitive, too -- the executable is called pdksh.exe, not PDKsh.exe. However, if you had followed the Cygwin problem reporting guidelines at http://cygwin.com/problems.html, we would have known what packages you have installed on