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: problem under cygwin with sh, bash, ksh


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/


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