Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cb(1) — DG/UX 4.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought



                                                                    cb(1)



        _________________________________________________________________
        cb                                                        Command
        C program beautifier
        _________________________________________________________________


        SYNTAX

        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.















        DG/UX 4.00                                                 Page 1
               Licensed material--property of copyright holder(s)



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