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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: m.a.r.c.o
Date:  
À: exim-users
Sujet: 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