CB(CP) XENIX System V CB(CP)
Name
cb - Beautifies C programs.
Syntax
cb [ -s ] [ -j ] [ -l leng ] [file ...]
Description
cb places a copy of the C program in file (standard input,
if file is not given) on the standard output with spacing
and indentation that displays the structure of the program.
Under default options, cb preserves all user newlines. The
-s option formats the code to match the style of Kernighan
and Ritchie in The C Programming Language. The -j option
causes split lines to be put back together. The -l option
causes cb to split lines that are longer than leng.
See Also
cc(CP)
B.W. Kernighan and D.M. Ritchie, The C Programming Language
(Englewood Cliffs: Prentice-Hall, 1978)
Notes
Punctuation that is hidden in preprocessor statements will
cause indentation errors.
Page 1 (printed 8/7/87)