Sujet : Re: create variables in a loop?
De : chris (at) *nospam* mshome.net (Chris Elvidge)
Groupes : comp.unix.shellDate : 29. May 2024, 15:05:40
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v37975$157io$1@dont-email.me>
References : 1
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 Lightning/5.4
On 29/05/2024 at 11:57, Dr Eberhard W Lisse wrote:
Hi,
I would like to do something like
for i in USD GBP
do
$i=somevalue
done
does not work, of course.
Any idea on how to create (and fill variables through a loop)?
greetings, el
declare $i=somevalue
possibly
-- Chris Elvidge, EnglandRALPH WON'T "MORPH" IF YOU SQUEEZE HIM HARD ENOUGH