home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 255.lha / Pretty_v3.0 / pretty.doc < prev    next >
Encoding:
Text File  |  1989-06-13  |  1.2 KB  |  33 lines

  1.  
  2.  Version 3.00   July 12, 1988
  3.  PRETTY takes commands from comments in a C program or in the command
  4. line, to control the formatting of a C program listing.
  5. It can also be used to format other text files.
  6.  
  7. Syntax: pretty [<IN] [>OUT] [/aOUT] [/lX] [/non] [/oOUT]
  8.     [/hX] [/sSUB] [/TX] [/tTITLE] [/?]
  9.  
  10. <IN        Specifies IN as the input file.
  11. >OUT    Specifies output file OUT.
  12. IN        Same as <IN
  13. /aOUT    Appends output to end of file OUT.
  14. /lX        Sets initial line number to X (a decimal number)
  15. /non    Turns off the printing of line numbers.
  16. /oOUT    Same effect as >OUT.
  17. /hX        Specifies maximum of X lines per page (includes titles)
  18.         Default is 66.
  19. /sSUB    Causes "SUB" to be the current subtitle.
  20.         Default is the current time and date.
  21. /TX        Sets tabs every Xth column. Default is 4.
  22. /tTITLE Causes "TITLE" to be used as the title. Default is the
  23.         name of the file being printed (unless standard input is used).
  24. /?        Prints this help message.
  25.  
  26. The following commands may be included in C program comments.
  27. They must be the first non-whitespace in the comment, and the
  28. comment must be the first non-whitespace on the line.
  29.  
  30. page    Causes a form feed.
  31. su=SUB    Causes "SUB" to be the current subtitle.
  32. ti=TITLE Causes "TITLE" to be used as the title.
  33.