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

Re: RFC: new network config



On Mon, Feb 08, 1999 at 12:27:26PM -0500, Steve Dunham wrote:
> > interface eth2 \
> > 	ip=192.168.1.1 \
> > 	netmask=255.255.255.0 \
> > 	ipx_net=0x000010
> 
> > interface eth2 \
> > 	dhcpclient=true
> > 
> 
> Take off the \ at the end of the lines.  (Also a common Unix standard
> used in email - lines that begin with whitespace are a continuation of
> previous lines.)

yep, and a blank line between each configuration section. quite a few
packages understand that format. it's particularly easy to parse in
perl's "paragraph mode": $/='' ;

IMO, the \ should be optional....ignore it if it's there.

craig

--
craig sanders


Reply to: