Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Motorola System V 88k Release 3.2 Version 1.2C

Media Vault

Software Library

Restoration Projects

Artifacts Sought



  CB(1)                 (Advanced C Utilities)                CB(1)



  NAME
       cb - C program beautifier

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

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

       cb accepts the following options.

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

       -j          Causes split lines to be put back together.

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

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

  BUGS
       Punctuation that is hidden in preprocessor statements will
       cause indentation errors.












  Page 1                                                   May 1989
















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