home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / CB.ZIP / CB.DOC < prev    next >
Text File  |  1987-10-27  |  1KB  |  28 lines

  1.              "C" Source Formatter   'Pretty Printer'
  2.  
  3.  
  4. DESCRIPTION:
  5.      This program takes as input a "C" source  program  file  and 
  6.      formats  it with the proper indents for each statement.  The 
  7.      original input file is renamed  as  a  .BAK  file,  and  the 
  8.      formatted  output  is placed in a file with the same name as 
  9.      the original input.  A command line option allows the indent 
  10.      level to be specified as from 1 to 10 spaces (default = 4).
  11.  
  12.  
  13. INVOCATION:
  14.                CB inputfil [indent]
  15.  
  16.      inputfil       Input  "C" source program.   This file should 
  17.                     be  a file that has compiled error  free,  as 
  18.                     the formatter is not smart enough to pick  up 
  19.                     syntax errors. Default extention = .c
  20.  
  21.      indent         This  is a number from 1 to 10 to specify the
  22.                     number of spaces for each indent level.   The 
  23.             default spacing is 4.
  24.  
  25. HELP:
  26.      Typing CB with no file name displays a short help reminder.
  27. 
  28.