Re: [coreutils] considering uncrustify for automatic indentation: prepar
From:
Jim Meyering
Subject:
Re: [coreutils] considering uncrustify for automatic indentation: prepare
Date:
Mon, 31 May 2010 11:40:26 +0200
Pádraig Brady wrote:
> On 31/05/10 10:12, Jim Meyering wrote:
>> [PATCH 1/4] stat: use gnulib's alignof module
>> [PATCH 2/4] maint: correct indentation of case_GETOPT_* macro uses
>> [PATCH 3/4] maint: replace each "for (;;)" with "while (true)"
>> [PATCH 4/4] maint: make spacing around "=" consistent, even in IF_LINT
>>
>> I've been considering using uncrustify to automatically
>> format coreutils
>
> How does it compare to GNU indent?
uncrustify has far more options, and appears to be better maintained.
This started because I wanted GNU indent to work differently in some
small, yet seemingly-easy-to-fix way, began to change it to allow that,
but found I would have had to do some significant rearrangement to get
what I wanted.
I'll post details pretty soon on how I've been using uncrustify.