This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: CPP macro expansion


At 01.05 05/11/2003, Dave Gotwisner wrote:
He is.  A quick search on google for "C beautify" yields bcpp (and other
programs).  I was aware of one from years ago called cb, but couldn't find
it (not on redhat distro, 5 minutes of search didn't find it).  CBPP appears
to be something similar, but supporting C++ as well as C.  I suspect that he
can try "gcc -E file.c | cb > file.fmt" or some such (assuming cb and bcpp
support stdin/stdout data transports).

from URL http://dickey.his.com/bcpp/bcpp.html


------------------------------------
bcpp indents C/C++ source programs, replacing tabs with spaces or the reverse.
Unlike indent, it does (by design) not attempt to wrap long statements.
------------------------------------

Roberto Fichera.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]