On 22:49 Thu 25 Oct , Roy Marples wrote: > On Thu, 2007-10-25 at 14:31 -0700, Donnie Berkholz wrote: > > Is there any way we could avoid these altogether, and instead use > > separate variables for each array element? > > Well, we could prefix with numbers > > array="1.2.3.4 netmask 5.6.7.8; > \* > 'host.name' netmask 1.2.3.4 > -I 'option; $FOO with spaces'" > > Would become > > 0_config_eth0="1.2.3.4 netmask 5.6.7.8;" > 1_config_eth0="\*" > 2_config_eth0="'host.name' netmask 1.2.3.4" > 3_config_eth0="-I 'option; $FOO with spaces'"
I was hoping for some sort of meaningfully named separate variables, not an even messier fake array. Thanks, Donnie -- [EMAIL PROTECTED] mailing list