*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> cb (1)              



NAME    [Toc]    [Back]

       cb - Converts C source code into a readable form

SYNOPSIS    [Toc]    [Back]

       cb [-js] [-llength] [file...]

       The  cb  command  reads  C programs from standard input or
       from specified files and writes them to standard output in
       a  form  that shows, through indentations and spacing, the
       structure of the code.

OPTIONS    [Toc]    [Back]

       Joins split lines.  Splits  lines  that  are  longer  than
       length  bytes.   Formats  the source code according to the
       style of Kernighan and Ritchie in The C  Programming  Language
  (Prentice-Hall,  Inc.,  1978; Englewood Cliffs, New

DESCRIPTION    [Toc]    [Back]

       When called without options, the cb command does not split
       or  join  lines.   Note  that  punctuation in preprocessor
       statements can cause indentation errors.

EXAMPLES    [Toc]    [Back]

       To create a version of pgm.c called pgm.pretty.c  that  is
       easy  to  read, with no lines longer than 60 bytes, enter:
       cb -l60 pgm.c > pgm.pretty.c

SEE ALSO    [Toc]    [Back]

       Commands:  indent(1)

[ Back ]
 Similar pages
Name OS Title
dcecp_audtrail HP-UX A dcecp object that converts the audit trail into a readable format
humanize_number NetBSD format a number into a human readable form
format_bytes NetBSD format a number into a human readable form
nlmconv Linux converts object code into an NLM.
ctm FreeBSD source code mirror program
ctm FreeBSD source code mirror system
entrigraph Linux convert C source code to use trigraphs
untrigraph Linux remove trigraphs from C source code
chktri Linux check for trigraphs in C source code
cstr Linux print out string literals in C source code
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service