NAME
cb – C program beautifier |
SYNOPSIS
cb [ –js ] [ –l length ] [ file ... ] |
DESCRIPTION
Cb reads syntactically correct C programs from its input or the
given files, and writes them to its stdout with a more visually
pleasing spacing and indentation. Cb understands no C++ syntax
bar newline–terminated comments; and by default all user new–lines
are preserved in the output.
The options are: |
SOURCE
/sys/src/cmd/cb |
BUGS
Cb does not reformat structure initializers. Punctuation hidden in macros can cause indentation errors. |