01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CB ( l ) CB ( l )<br />

NAME<br />

cb - C program beautifier<br />

SYNOPSIS<br />

cb [ -s ] [ -j ] [ -1 leng ] [ file ... ]<br />

DESCRIPTION<br />

Cb reads C programs either from its arguments or from the standard<br />

input and writes them on the standard output with spacing<br />

and indentation that displays the structure of the code. Under<br />

default options, cb preserves all user new-lines. Under the -s flag<br />

cb canonicalizes the code to the style of Kernighan and Ritchie in<br />

The C Programming Language. The -j flag causes split lines to<br />

be put back together. The -1 flag causes cb to split lines that are<br />

longer than leng .<br />

SEE ALSO<br />

cc{ l).<br />

The C Programming Language by B. W. Kernighan and D. M.<br />

Ritchie.<br />

BUGS<br />

Punctuation that is hidden in preprocessor statements will cause<br />

indentation errors.<br />

- 1 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!