Re: [exim] Configuration file format: Leading whitespace alw…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: Andreas Metzler
CC: exim-users
Betreff: Re: [exim] Configuration file format: Leading whitespace always ignored?
On Fri, 27 Aug 2004, Andreas Metzler wrote:

> The documentation is not quite clear about this, 6.2 says:
> | Blank lines in the file, and lines starting with a # character
> | (ignoring leading white space) are treated as comments and are
> | ignored. Note: a # character other than at the beginning of a line
> | is not treated specially, and does not introduce a comment.
>
> Is there a situation where "leading white space" is not ignored?


No. This is the comment in the code:

/* Find the true start of the physical line - leading spaces are
always ignored. */

> If this is indeed the case, could this be made clear in spec.txt?


Yes.

> PS: The reason I am asking is because I got a bug-report asking to
> make it possible to indent .include and .if to make the file more
> readable and I ended up trying whether it already works (it does)
> instead of pointing to the docs as I usually can do. ;-)


The docs contain this example:

   hosts_lookup = a.b.c \
                  .include /some/file


(admittedly that's a continuation line....)

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book