| Report: Printable Source Code Format |
| Option: -p |
| Supplemental Options: -B1 Begin Top Margin Line Spacing -M5 Left Margin Character Spacing -P55 Page Length in Lines -L80 Line Length in Characters -S "string" Header String |
| Compatible Options: RSM Option Cross Reference |
| Usage: rsm -H -p *.h *.cpp > report.htm rsm -H -O report.htm -p *.java |
| Source: C, C++ and Java |
| The -p mode will take your source code and format it for printing.
The format provides a header for each file with the file name, date and size. Each
line in the source code is numbered with a line number. This type of format is
amenable to code peer reviews. -B <number> -M <number> -P <number> -L <number> -S "string in quotes" |
Acme Software Systems
File: Contact.java
Date: Sun Jun 27 10:38:16 1999
______________________________________________________________________________________
1| package rolodex;
2|
3| import java.io.BufferedReader;
4| import java.io.InputStreamReader;
5| import java.io.IOException;
6| import java.io.Serializable;
7|
|