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