LFS-6.0 print process

DJ Lucas dj at linuxfromscratch.org
Wed Jul 7 20:27:43 PDT 2004


Anderson Lizardo wrote:
> On Wednesday 07 July 2004 18:38, Nathan Coulson wrote:
> 
>>b)
>>SERVICE=static
>>IP=192.168.1.2
>>SERVICE=static
>>IP=192.168.1.5
>>SERVICE=ipx
>>num=123456
> 
> 
> I'm not sure if other *sh accept this syntax but bash has arrays. this allows 
> you to do something like:
> 
> SERVICE[0]=static
> IP[0]=192.168.1.2
> SERVICE[1]=static
> IP[1]=192.168.1.5
> SERVICE[2]=ipx
> num[2]=123456
> 
> IMHO, it's still human-readable :)
> 

IIUC, that's really no different than the one originally proposed by 
Alexander on blfs as far as presentation is concerned (which 
coincidently I still like).  I think one point was not to be forced to 
add a number so that installation instructions could continue to be 
generic.  Please correct me if I am wrong.

-- DJ Lucas



More information about the lfs-dev mailing list