Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cc(1)

CB(1)                                SysV                                CB(1)



NAME
     cb - C program beautifier

SYNOPSIS
     cb [ -s ] [ -j ] [ -l leng ] [ file ... ]

DESCRIPTION
     cb reads C programs from its arguments or from the standard input, and
     writes them on the standard output with spacing and indentation
     displaying the structure of the code.  Under default options, cb
     preserves all user new-lines.

OPTIONS
     -s        Causes code to conform to the style of Kernighan and Ritchie in
               The C Programming Language.

     -j        Puts split lines back together.

      -l leng  Splits lines that are longer than leng.

BUG
     Punctuation that is hidden in preprocessor statements causes indentation
     errors.

SEE ALSO
     cc(1).
     The C Programming Language. Prentice-Hall, 1978.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026