Print this page
6205 onbld manuals should be declared as 1onbld
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Josef Sipek <jeffpc@josefsipek.net>
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/tools/codereview/codereview.1.man.txt
+++ new/usr/src/tools/codereview/codereview.1onbld.man.txt
1 -codereview(1) User Commands codereview(1)
1 +codereview(1ONBLD) illumos Build Tools codereview(1ONBLD)
2 2
3 3
4 4
5 5
6 6 NAME
7 7 codereview - Diff list generator
8 8
9 9 SYNOPSIS
10 10 codereview [-e] [-hheading] [-r] oldfile newfile
11 11
12 12 DESCRIPTION
13 13 The codereview command expects two ASCII text files as input and
14 14 produces Postscript describing the differences between the files. The
15 15 first file is assumed to be the older version, and the second file is
16 16 assumed to be the newer version. If either oldfile or newfile is -,
17 17 the corresponding file is taken from the standard input. The output
18 18 goes to standard output and lists all lines from both files, with lines
19 19 changed from the first to the second being highlighted in gray. Lines
20 20 deleted from the first file are listed in italic, while lines added to
21 21 the second file are listed in bold.
22 22
23 23 OPTIONS
24 24 -e Elide unchanged functions. Functions which are unchanged
25 25 will be heuristically eliminated from the listing. Only the
26 26 function end is parsed. The assumption is that a brace ('}')
27 27 in column one represents the end of a function. Thus
28 28 unchanged structure definitions may be elided also. For
29 29 support of assembly language files, the string "SET_SIZE("
30 30 occurring in a line is assumed to mark the end of a function
31 31 also.
32 32
33 33 -hheading Put a header on each page. The heading string appears at the
34 34 upper left of each page, and the page number appears at the
35 35 upper right.
36 36
37 37 -r Enable page reversal so that the pages appear in the correct
38 38 sequence in the output tray of printers like the Apple
39 39 LaserWriter. The default is not to perform page reversal,
40 40 which is correct for printers like the NEC Silentwriter
41 41 LC-890.
42 42
43 43 FILES
44 44 /tmp/lwlpXXXXXX - temporary file used for page reversal
45 45
46 46 LIMITATIONS
47 47 The maximum input line length is 1024 characters. This should not
48 48 present a problem since the corresponding output line length would be
49 49 too long to be printed. The program silently truncates input lines
50 50 that are too long.
51 51
52 52 NOTES
↓ open down ↓ |
41 lines elided |
↑ open up ↑ |
53 53 The command
54 54 pageview -right -h 17 -w 11 -Ws 1100 850 -dpi 100 out.ps
55 55 is useful for displaying the results of codereview.
56 56
57 57 AUTHOR
58 58 John Zolnowsky
59 59 SunSoft, Inc.
60 60
61 61
62 62
63 -3rd Berkeley Distribution August 5, 2008 codereview(1)
63 +3rd Berkeley Distribution August 5, 2008 codereview(1ONBLD)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX