cb man page on Plan9

Man page or keyword search:  
man Server   549 pages
apropos Keyword Search (all sections)
Output format
Plan9 logo
[printable version]

CB(1)									 CB(1)

NAME
       cb - C program beautifier

SYNOPSIS
       cb [ -js ] [ -l length ] [ file ...  ]

DESCRIPTION
       Cb  reads  syntactically	 correct C programs from from its input or the
       given files, and writes them to its stdout with a more visually	pleasā€
       ing 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:

       -j     Join split lines.

       -s     Print  code in the so-called K&R style used in The C Programming
	      Language.

       -l     Split lines that are longer than length.

SOURCE
       /sys/src/cmd/cb

BUGS
       Cb does not reformat structure initializers.
       Punctuation hidden in macros can cause indentation errors.

									 CB(1)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Plan9

List of man pages available for Plan9

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net