Boost logo

Boost Users :

Subject: Re: [Boost-users] PP: LOCAL_ITERATE: how to get rid of extra empty lines
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-02-12 17:56:04


AMDG

Hicham Mouline wrote:
> I get the following preprocessed output
>
>
>
> # 34 "my_header.hpp"
>
> # 1 "/usr/include/boost/preprocessor/iteration/detail/local.hpp" 1 3 4
>
> # 34 "/usr/include/boost/preprocessor/iteration/detail/local.hpp" 3 4
>
> //result of LOCAL_macro expansion
>
>
>
>
>
> //result of macro expansion
>
>
>
>
>
> //result of macro expansion
>
>
>
>
>
> //result of macro expansion
>
>
>
>
>
> How do I get rid of the blank lines in the middle?
>

perl -lne 'print unless /^$/'
?

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net