Blame


1 3b0f3d61 2020-01-22 neels .\" $OpenBSD$
2 3b0f3d61 2020-01-22 neels .\"
3 3b0f3d61 2020-01-22 neels .\" Copyright (c) 2018 Martin Pieuchot
4 3b0f3d61 2020-01-22 neels .\" Copyright (c) 2020 Neels Hofmeyr <neels@hofmeyr.de>
5 3b0f3d61 2020-01-22 neels .\"
6 3b0f3d61 2020-01-22 neels .\" Permission to use, copy, modify, and distribute this software for any
7 3b0f3d61 2020-01-22 neels .\" purpose with or without fee is hereby granted, provided that the above
8 3b0f3d61 2020-01-22 neels .\" copyright notice and this permission notice appear in all copies.
9 3b0f3d61 2020-01-22 neels .\"
10 3b0f3d61 2020-01-22 neels .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 3b0f3d61 2020-01-22 neels .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 3b0f3d61 2020-01-22 neels .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 3b0f3d61 2020-01-22 neels .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 3b0f3d61 2020-01-22 neels .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 3b0f3d61 2020-01-22 neels .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 3b0f3d61 2020-01-22 neels .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 3b0f3d61 2020-01-22 neels .\"
18 3b0f3d61 2020-01-22 neels .Dd $Mdocdate: August 28 2017 $
19 3b0f3d61 2020-01-22 neels .Dt DIFF 1
20 3b0f3d61 2020-01-22 neels .Os
21 3b0f3d61 2020-01-22 neels .Sh NAME
22 3b0f3d61 2020-01-22 neels .Nm diff
23 3b0f3d61 2020-01-22 neels .Nd compare files
24 3b0f3d61 2020-01-22 neels .Sh SYNOPSIS
25 3b0f3d61 2020-01-22 neels .Nm diff
26 3b0f3d61 2020-01-22 neels .Ar file1 file2
27 3b0f3d61 2020-01-22 neels .Sh DESCRIPTION
28 3b0f3d61 2020-01-22 neels The
29 3b0f3d61 2020-01-22 neels .Nm
30 3b0f3d61 2020-01-22 neels utility compares the contents of
31 3b0f3d61 2020-01-22 neels .Ar file1
32 3b0f3d61 2020-01-22 neels and
33 3b0f3d61 2020-01-22 neels .Ar file2
34 3b0f3d61 2020-01-22 neels line by line.
35 3b0f3d61 2020-01-22 neels .Sh EXIT STATUS
36 3b0f3d61 2020-01-22 neels The
37 3b0f3d61 2020-01-22 neels .Nm
38 3b0f3d61 2020-01-22 neels utility exits with one of the following values:
39 3b0f3d61 2020-01-22 neels .Pp
40 3b0f3d61 2020-01-22 neels .Bl -tag -width Ds -offset indent -compact
41 3b0f3d61 2020-01-22 neels .It 0
42 3b0f3d61 2020-01-22 neels No differences were found.
43 3b0f3d61 2020-01-22 neels .It 1
44 3b0f3d61 2020-01-22 neels Differences were found.
45 3b0f3d61 2020-01-22 neels .It >1
46 3b0f3d61 2020-01-22 neels An error occurred.
47 3b0f3d61 2020-01-22 neels .El