PP: LOCAL_ITERATE: how to get rid of extra empty lines
Hello 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? Regards,
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
participants (2)
-
Hicham Mouline
-
Steven Watanabe