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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: m.a.r.c.o
日付:  
To: exim-users
題目: 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