Manual Page Result
0
Command: cb | Section: 1 | Source: UNIX v10 | File: cb.1
CB(1) General Commands Manual CB(1)
NAME
cb - C program beautifier
SYNOPSIS
cb [ option ... ] [ file ... ]
DESCRIPTION
Cb reads C programs either from the named files or from the standard
input and writes them on the standard output with spacing and indenta-
tion that displays the structure of the code. The options are:
-s Place newlines as in Kernighan and Ritchie. (Original newlines
are preserved by default.)
-j Join split lines.
-l leng
Split lines that are longer than leng, 120 by default.
SEE ALSO
pr(1), troff(1), lp(1), font(6)
B. W. Kernighan and D. M. Ritchie, The C Programming Language, Pren-
tice-Hall, 1988.
BUGS
Punctuation hidden in preprocessor statements causes cb to make inden-
tation errors.
CB(1)