bash expansion help

Christopher Friedt cfriedt-u6hQ6WWl8Q3d1t4wvoaeXtBPR1lH4CV8 at public.gmane.org
Sun Feb 4 22:09:33 UTC 2007


Doh!

Yeah, my solution didn't work.

You're a genius Steve!

Thanks!

~/Chris

Steve Harvey wrote:
> On Sun, Feb 04, 2007 at 11:52:09AM +0100, Christopher Friedt wrote:
>> Hi everyone,
>>
>> I'm trying to find some method to expand this variable $arm_opts:
>>
>> "GENERIC_ARM ARM{610,710,720T,920T,922T,926T,_{SA110,SA1100,XSCALE}}"
>>
>> to this:
>>
>> "GENERIC_ARM ARM610 ARM710 ARM720T ARM920T ARM922T ARM926T ARM_SA110 
>> ARM_SA1100 ARM_XSCALE"
>>
>> in bash.
>>
>> Any tips ?
>>
> 
> arm_opts_exp=`echo echo $arm_opts | bash`
> --
> The Toronto Linux Users Group.      Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
> 
> 
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list