good thing you found the answer. I am glad you did, and oh, I am more glad
that you found your solution on ksh itself and not on advanced scripting
language, like Perl or Python.''
Guys,
I eventually found it with lots of rtfm on variable substitution and such..
[...@dada~]$ z=0
On Wed, Jul 1, 2009 at 10:07 PM, Giorgos Keramidas keram...@ceid.upatras.gr
wrote:
On Wed, 1 Jul 2009 22:02:48 +0200 (CEST), Wojciech Puchar
woj...@wojtek.tensor.gdynia.pl wrote:
Using an interactive language like Python you can actually *test* the
code as you are writing it. This is a
Hi folks,
I'm having a little problem.
For exambe in ksh:
$ z=0
$ y=1
$ x=
$ eval `echo MACHINE_DISK$z[$y]`=$x
$ echo ${MACHINE_DISK0[1]}
My problem is getting back the value of the variable using variables to
refer to the variable name (confusing). I.e $MACHINE_DISK$z[$y] .
Using
On Wed, 1 Jul 2009 18:40:00 +0100, Alexandre Vieira nul...@gmail.com wrote:
Hi folks,
I'm having a little problem.
For exambe in ksh:
$ z=0
$ y=1
$ x=
$ eval `echo MACHINE_DISK$z[$y]`=$x
$ echo ${MACHINE_DISK0[1]}
My problem is getting back the value of the variable using
$ echo ${MACHINE_DISK0[$y]}
$ echo ${MACHINE_DISK$z[$y]}
ksh: ${MACHINE_DISK$z[$y]}: bad substitution
Thanks in advance for any tip
install bash :)
___
freebsd-questions@freebsd.org mailing list
Using an interactive language like Python you can actually *test* the
code as you are writing it. This is a major win most of the time.
could you explain what you mean? You can and you have to test a code on
any language be it bash, ksh python or C
On Wed, 1 Jul 2009 22:02:48 +0200 (CEST), Wojciech Puchar
woj...@wojtek.tensor.gdynia.pl wrote:
Using an interactive language like Python you can actually *test* the
code as you are writing it. This is a major win most of the time.
could you explain what you mean? You can and you have to