On Sun, 18 Sep 2011 22:05:24 +0200
Francisco J Ballesteros wrote:
> Somehow indent has indented wrong some ifs
> (the code in the body is at the same tab level than the if).
> Perhaps I made a mistake. I'm not saying it doesn't work
> (I'm sorry if I did).
>
> but cb was just fine.
I've had ind
On Sun Sep 18 14:10:06 EDT 2011, n...@lsub.org wrote:
> anyone is using a C beautifier in Plan 9?
> I mean, other than gnu indent, which I tried and does not
> work quite right for me.
uncrustify is fairly flexible, but takes some work up front to describe your
desired output style.
http://uncr
Somehow indent has indented wrong some ifs
(the code in the body is at the same tab level than the if).
Perhaps I made a mistake. I'm not saying it doesn't work
(I'm sorry if I did).
but cb was just fine.
On Sun, Sep 18, 2011 at 10:01 PM, Steve Simon wrote:
> I have an indent port in my contri
I have an indent port in my contrib (though you say you don't like it),
and plan9 has cb(1).
what don't you like about indent?
I use it with erik's bcmt which replaces c++ style comments with C ones,
a carfully tailored proto file, and this: sed 's/\) {/){/
.
This gives me pretty much plan9-sty
As I said, I should learn to read man pages.
cb -s
was exactly what I was looking for.
thanks again.
On Sun, Sep 18, 2011 at 8:23 PM, Francisco J Ballesteros wrote:
> I was looking for something capable of unifying say
>
> if(...){
> }else{
> }
>
> and
>
> if(...)
> {
> }
> else
> {
> }
>
> into
I was looking for something capable of unifying say
if(...){
}else{
}
and
if(...)
{
}
else
{
}
into a single style.
But it might do. thanks again.
On Sun, Sep 18, 2011 at 8:11 PM, erik quanstrom wrote:
> On Sun Sep 18 14:10:06 EDT 2011, n...@lsub.org wrote:
>> Hi,
>>
>> anyone is using a C be
On Sun Sep 18 14:10:06 EDT 2011, n...@lsub.org wrote:
> Hi,
>
> anyone is using a C beautifier in Plan 9?
> I mean, other than gnu indent, which I tried and does not
> work quite right for me.
cb has worked for me, even on windows code.
- erik
I'll have to learn to search and read man pages :)
thanks!
On Sun, Sep 18, 2011 at 8:15 PM, andrey mirtchovski
wrote:
> /386/bin/cb?
>
>
/386/bin/cb?
Hi,
anyone is using a C beautifier in Plan 9?
I mean, other than gnu indent, which I tried and does not
work quite right for me.
thanks
10 matches
Mail list logo