cb(1) cb(1)
NAME
cb - C program beautifier
SYNOPSIS
cb [-s] [-j] [-l length] [-V] [file ...]
DESCRIPTION
The cb command (C program beautifier) reads C programs either from the
files specified by its arguments or from the standard input, and
writes them on the standard output with spacing and indentation that
display the structure of the C code. By default, cb preserves all user
newline characters.
cb accepts the following options.
-s Write the code in the style of Kernighan and Ritchie.
-j Put split lines back together.
-l length
cb will split lines that are longer than length.
-V Print on standard error output the version of cb invoked.
NOTES
cb treats asm as a keyword.
The format of structure initializations is unchanged by cb.
Punctuation that is hidden in preprocessing directives causes indenta-
tion errors.
SEE ALSO
cc(1).
Kernighan/Ritchie: "The C Programming Language".
Page 1 Reliant UNIX 5.44 Printed 11/98