Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cb(1) — DG/UX R4.11MU05

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cc(1)



cb(1)                          DG/UX R4.11MU05                         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.

   International Features
       cb can process characters from supplementary code sets as well as
       ASCII characters.

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)

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