Re: implementation of 2-dimensional array in bash - kind request

2008-07-07 Thread Darius Jack
Thanks. You are right as always. I am trying to master dialog and for my tiny application bash + 2D arrays + dialog should suffice. Darius --- On Sun, 6/7/08, Kees Jongenburger [EMAIL PROTECTED] wrote: From: Kees Jongenburger [EMAIL PROTECTED] Subject: Re: implementation of 2-dimensional

Re: implementation of 2-dimensional array in bash - kind request

2008-07-06 Thread Kees Jongenburger
Hello Darius, On Sat, Jul 5, 2008 at 7:54 PM, Darius Jack [EMAIL PROTECTED] wrote: and have 2D array inmterpreted as one row. so calculating array2D ( ) i-th j-th element as i + (j-1) x row length I agree with Igor what using bash or even better a POSIX shell would be a little insane. Still

Re: implementation of 2-dimensional array in bash - kind request

2008-07-06 Thread William Gordon Rutherdale
C is a good solution. So is Perl, which comes on OS 2008. So is Python. Perl lets you construct nested lists, which gives you the equivalent in capability to multi-dimensional arrays. Python gives similar constructs. There is no reason IMHO to be writing shell scripts of any kind on a

Re: implementation of 2-dimensional array in bash - kind request

2008-07-06 Thread Jason Edgecombe
William Gordon Rutherdale wrote: C is a good solution. So is Perl, which comes on OS 2008. So is Python. Perl lets you construct nested lists, which gives you the equivalent in capability to multi-dimensional arrays. Python gives similar constructs. There is no reason IMHO to be

Re: implementation of 2-dimensional array in bash - kind request

2008-07-05 Thread Igor Stoppa
On Sat, 2008-07-05 at 17:54 +, ext Darius Jack wrote: I need such 2D array to save gps data and more. Hmm ... why not switching to C? It might make far less painfull your effort, and probably would be more efficient. -- Cheers, Igor --- Igor Stoppa Maemo Software - Nokia Devices RD -