> On Mon, Nov 19, 2001 at 04:49:19PM +0200, Shaul Karl wrote:
> > Can you recommend a tool for _formatting_ src files for consistency of
> > style and better readability?
>
> indent is the standard tool. It has enough options to format C code
> even according to the most perverted preferences. I use it to cheat
> when reading IOCCC entries.
>
> Don't know about C++ though.
Quoting the Bugs subsection of indent info pages:
While an attempt was made to get `indent' working for C++, is
will
not do a good job on any C++ source except the very simple.
This is emphasized by indent's README:
GNU indent does NOT work for C++, if it does for you then you're
just lucky. Don't ask for support for C++.
--
Shaul Karl
email: shaulka (replace these parenthesis with @) bezeqint,
delete the comma and the white space characters and add .net
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]