Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cb(1) — sys5 — Apollo Domain/IX SR9.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cc(1)



CB(1)                    DOMAIN/IX SYS5                     CB(1)



NAME
     cb - C program beautifier

USAGE
     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 newlines.

OPTIONS
     -s                  Canonicalize code to the style of Ker-
                         nighan and Ritchie in The C Programming
                         Language.

     -j                  Put split lines back together.

     -l leng             Split lines that are longer than leng.

CAUTIONS
     Punctuation hidden in preprocessor statements causes inden-
     tation errors.

RELATED INFORMATION
     cc(1).


























Printed 12/4/86                                              CB-1





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