From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <719a0e7fec4eae80340f5b3f1cff6546@quintile.net> References: <719a0e7fec4eae80340f5b3f1cff6546@quintile.net> Date: Sun, 18 Sep 2011 22:05:24 +0200 Message-ID: From: Francisco J Ballesteros To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] C beautifier Topicbox-Message-UUID: 28686728-ead7-11e9-9d60-3106f5b1d025 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 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-style code (assuming nix-style is plan9-style > and has not evolved). > > -Steve > >