Deutsch English Français Italiano |
<v37975$157io$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Chris Elvidge <chris@mshome.net> Newsgroups: comp.unix.shell Subject: Re: create variables in a loop? Date: Wed, 29 May 2024 14:05:40 +0100 Organization: A noiseless patient Spider Lines: 25 Message-ID: <v37975$157io$1@dont-email.me> References: <lbog03FfbrqU1@mid.individual.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 29 May 2024 15:05:41 +0200 (CEST) Injection-Info: dont-email.me; posting-host="920d3e9ff34981a8b8ef77f9cfbe063f"; logging-data="1220184"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX194iUcp5ppuE+y9aG5RhE5QUsfehilAjoo=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 Lightning/5.4 Cancel-Lock: sha1:pmQwCCmHHd5cZpfg3iEbaQ100G8= Content-Language: en-GB In-Reply-To: <lbog03FfbrqU1@mid.individual.net> Bytes: 1485 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, England RALPH WON'T "MORPH" IF YOU SQUEEZE HIM HARD ENOUGH