home *** CD-ROM | disk | FTP | other *** search
-
- Version 3.00 July 12, 1988
- PRETTY takes commands from comments in a C program or in the command
- line, to control the formatting of a C program listing.
- It can also be used to format other text files.
-
- Syntax: pretty [<IN] [>OUT] [/aOUT] [/lX] [/non] [/oOUT]
- [/hX] [/sSUB] [/TX] [/tTITLE] [/?]
-
- <IN Specifies IN as the input file.
- >OUT Specifies output file OUT.
- IN Same as <IN
- /aOUT Appends output to end of file OUT.
- /lX Sets initial line number to X (a decimal number)
- /non Turns off the printing of line numbers.
- /oOUT Same effect as >OUT.
- /hX Specifies maximum of X lines per page (includes titles)
- Default is 66.
- /sSUB Causes "SUB" to be the current subtitle.
- Default is the current time and date.
- /TX Sets tabs every Xth column. Default is 4.
- /tTITLE Causes "TITLE" to be used as the title. Default is the
- name of the file being printed (unless standard input is used).
- /? Prints this help message.
-
- The following commands may be included in C program comments.
- They must be the first non-whitespace in the comment, and the
- comment must be the first non-whitespace on the line.
-
- page Causes a form feed.
- su=SUB Causes "SUB" to be the current subtitle.
- ti=TITLE Causes "TITLE" to be used as the title.
-