Re: [exim] Dumping preprocessed Exim configuration (.ifdef's…

Top Page
Delete this message
Reply to this message
Author: m.a.r.c.o
Date:  
To: exim-users
Subject: Re: [exim] Dumping preprocessed Exim configuration (.ifdef's expanded)
On 2014-05-15 21:24, Heiko Schlittermann wrote:

> I've no knowledge about Ruby, but this isn't perfect:
>
>     41:    lines = lines.join.gsub("\\\n", 
> "{LINE_CONTINUATION}").each_line.to_a
>     74:    lines.reject!{|line| line.match(/^\s*#/) }


"This isn't perfect" may be the understatement of the week. ;-)

But thank you for your good eye, I've posted a new version at
https://gist.github.com/anonymous/c70011efa20f7d858b8d

marco