9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Francisco J Ballesteros <nemo@lsub.org>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] C beautifier
Date: Sun, 18 Sep 2011 20:32:29 +0200	[thread overview]
Message-ID: <CA+N-5bYA09C5xn8s+fEYSAp=g-K4Wv+jmwJfJWOBr9eVzC8Bdg@mail.gmail.com> (raw)
In-Reply-To: <CA+N-5bYS0N=8r4=Yqoco6aei=AWuuc-DGGzq+wcz_nnidd_yWQ@mail.gmail.com>

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 <nemo@lsub.org> wrote:
> 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 <quanstro@quanstro.net> wrote:
>> On Sun Sep 18 14:10:06 EDT 2011, nemo@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
>>
>>
>



  reply	other threads:[~2011-09-18 18:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CA+N-5bZcY7r+i+Gekhtbp_3X+a9sgy+4CAfd7-MMBThn5Pq3yQ@mail.gmail.c>
2011-09-18 18:11 ` erik quanstrom
2011-09-18 18:23   ` Francisco J Ballesteros
2011-09-18 18:32     ` Francisco J Ballesteros [this message]
2011-09-18 20:14   ` David Arnold
2011-09-18 18:08 Francisco J Ballesteros
2011-09-18 18:15 ` andrey mirtchovski
2011-09-18 18:19   ` Francisco J Ballesteros
2011-09-18 20:01 ` Steve Simon
2011-09-18 20:05   ` Francisco J Ballesteros
2011-09-22 10:40     ` Ethan Grammatikidis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+N-5bYA09C5xn8s+fEYSAp=g-K4Wv+jmwJfJWOBr9eVzC8Bdg@mail.gmail.com' \
    --to=nemo@lsub.org \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).