Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cb(1) — DG/UX 4.30

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cc(1)



     cb(1)                      DG/UX 4.30                       cb(1)



     NAME
          cb - C program beautifier

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

     DESCRIPTION
          Cb reads C programs either from the files specified in its
          arguments or from the standard input and writes them on the
          standard output.  Spacing and indentation display the
          structure of the code.  Under default options, cb preserves
          all user new-lines.

          Options are:

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

          -j        Puts split lines in the input back together.

          -l leng   Causes cb to split lines that are longer than
                    leng.

     SEE ALSO
          cc(1).
          The C Programming Language by B. W. Kernighan and D. M.
          Ritchie.

     BUGS
          Punctuation hidden in preprocessor statements will cause
          indentation errors.
























     Licensed material--property of copyright holder(s)         Page 1



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