* 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:
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...
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.
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.
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
* 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
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.
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
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
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
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
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
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:
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
14 matches
Mail list logo