Annotation of src/usr.bin/rcs/rcsdiff.1, Revision 1.7
1.7 ! niallo 1: .\" $OpenBSD: rcsdiff.1,v 1.6 2005/10/14 12:14:29 joris Exp $
1.1 joris 2: .\"
3: .\" Copyright (c) 2005 Joris Vink <joris@openbsd.org>
4: .\" All rights reserved.
5: .\"
6: .\" Permission to use, copy, modify, and distribute this software for any
7: .\" purpose with or without fee is hereby granted, provided that the above
8: .\" copyright notice and this permission notice appear in all copies.
9: .\"
10: .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11: .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12: .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13: .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14: .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15: .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16: .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17: .Dd October 08, 2005
18: .Dt RCSDIFF 1
19: .Os
20: .Sh NAME
21: .Nm rcsdiff
22: .Nd compare RCS revisions
23: .Sh SYNOPSIS
24: .Nm
25: .Bk -words
1.2 joris 26: .Op Fl cnquV
1.3 niallo 27: .Oo
1.7 ! niallo 28: .Fl r Ns Ar rev
! 29: .Op Fl r Ns Ar rev2
1.3 niallo 30: .Oc
1.1 joris 31: .Ar file ...
32: .Ek
33: .Sh DESCRIPTION
34: The
35: .Nm
1.4 jmc 36: program is used to compare two revisions of each RCS file given.
1.1 joris 37: .Pp
38: The following options are supported:
39: .Bl -tag -width Ds
1.2 joris 40: .It Fl c
1.4 jmc 41: Produces a diff with three lines of context.
42: See
1.2 joris 43: .Xr diff 1
44: for more information.
45: .It Fl n
1.6 joris 46: Produces a diff in the same format that is used in the RCS files.
1.7 ! niallo 47: .It Fl r Ns Ar rev
1.3 niallo 48: If one -r option is given, the diff is generated between the
49: working file and
1.7 ! niallo 50: .Ns Ar rev .
1.3 niallo 51: If two -r options are given, the diff is generated between the
52: two revisions specified.
1.1 joris 53: .It Fl q
54: Be quiet about reporting.
1.2 joris 55: .It Fl u
1.4 jmc 56: Produces a unified diff with three lines of context.
57: See
1.2 joris 58: .Xr diff 1
59: for more information.
1.1 joris 60: .It Fl V
61: Print RCS's version number.
62: .El
63: .Sh ENVIRONMENT
64: .Bl -tag -width RCSINIT
65: .It Ev RCSINIT
66: If set, this variable should contain a list of space-delimited options that
67: are prepended to the argument list.
68: .El
69: .Sh SEE ALSO
1.5 xsa 70: .Xr ci 1 ,
1.1 joris 71: .Xr co 1 ,
1.3 niallo 72: .Xr ident 1 ,
1.1 joris 73: .Xr rcs 1 ,
74: .Xr rcsclean 1 ,
1.5 xsa 75: .Xr rlog 1