CB(1) — HP-UX
NAME
cb − C program beautifier, formatter
SYNOPSIS
cb [ −s ] [ −j ] [ −l leng ] [ file ... ]
DESCRIPTION
Cb reads C programs either from its arguments or from the standard input and writes them on the standard output with spacing and indentation that displays the structure of the code. Under default options, cb preserves all user new-lines. Under the −s flag cb canonicalizes the code to the style of Kernighan and Ritchie in The C Programming Language. The −j flag causes split lines to be put back together. The −l flag 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 that is hidden in preprocessor statements will cause indentation errors.
INTERNATIONAL SUPPORT
8- and 16-bit data, 8-bit filenames.
Hewlett-Packard Company — Version B.1, May 11, 2021