CB(1)                                                       CB(1)

          cb - C program beautifier

          cb [ -js ] [ -l length ] [ file ...  ]

          Cb reads syntactically correct C programs from its input or
          the given files, and writes them to its stdout with a more
          visually pleasing spacing and indentation.  Cb understands
          no C++ syntax bar newline-terminated comments; and by
          default all user new-lines are preserved in the output.

          The options are:

          -j   Join split lines.

          -s   Print code in the so-called K&R style used in The C
               Programming Language.

          -l   Split lines that are longer than length.


          Cb does not reformat structure initializers.
          Punctuation hidden in macros can cause indentation errors.

     Page 1                       Plan 9             (printed 4/18/24)