help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How does {x..y} supposed to work?


From: Chet Ramey
Subject: Re: How does {x..y} supposed to work?
Date: Fri, 14 May 2021 09:30:28 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.10.1

On 5/13/21 6:06 PM, Alex fxmbsw7 Ratchev wrote:
btw now better addressed

you chet said {..} expands early, like before $var can be resolved
but wouldnt you wanna add {$'\100'..$'\105'} .. those are static
i thought somehow it did work but for me it didnt now

If you want this to work you're going to need to use `eval'.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]