source: trunk/essentials/sys-apps/diffutils/man/diff.1@ 3043

Last change on this file since 3043 was 2556, checked in by bird, 20 years ago

diffutils 2.8.1

File size: 5.2 KB
Line 
1.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.27.
2.TH DIFF "1" "April 2002" "diffutils 2.8.1" "User Commands"
3.SH NAME
4diff \- compare files line by line
5.SH SYNOPSIS
6.B diff
7[\fIOPTION\fR]... \fIFILES\fR
8.SH DESCRIPTION
9Compare files line by line.
10.TP
11\fB\-i\fR \fB\-\-ignore\-case\fR
12Ignore case differences in file contents.
13.TP
14\fB\-\-ignore\-file\-name\-case\fR
15Ignore case when comparing file names.
16.TP
17\fB\-\-no\-ignore\-file\-name\-case\fR
18Consider case when comparing file names.
19.TP
20\fB\-E\fR \fB\-\-ignore\-tab\-expansion\fR
21Ignore changes due to tab expansion.
22.TP
23\fB\-b\fR \fB\-\-ignore\-space\-change\fR
24Ignore changes in the amount of white space.
25.TP
26\fB\-w\fR \fB\-\-ignore\-all\-space\fR
27Ignore all white space.
28.TP
29\fB\-B\fR \fB\-\-ignore\-blank\-lines\fR
30Ignore changes whose lines are all blank.
31.TP
32\fB\-I\fR RE \fB\-\-ignore\-matching\-lines\fR=\fIRE\fR
33Ignore changes whose lines all match RE.
34.TP
35\fB\-\-strip\-trailing\-cr\fR
36Strip trailing carriage return on input.
37.TP
38\fB\-a\fR \fB\-\-text\fR
39Treat all files as text.
40.TP
41\fB\-c\fR \fB\-C\fR NUM \fB\-\-context\fR[=\fINUM\fR]
42Output NUM (default 3) lines of copied context.
43.TP
44\fB\-u\fR \fB\-U\fR NUM \fB\-\-unified\fR[=\fINUM\fR]
45Output NUM (default 3) lines of unified context.
46.TP
47\fB\-\-label\fR LABEL
48Use LABEL instead of file name.
49.TP
50\fB\-p\fR \fB\-\-show\-c\-function\fR
51Show which C function each change is in.
52.TP
53\fB\-F\fR RE \fB\-\-show\-function\-line\fR=\fIRE\fR
54Show the most recent line matching RE.
55.TP
56\fB\-q\fR \fB\-\-brief\fR
57Output only whether files differ.
58.TP
59\fB\-e\fR \fB\-\-ed\fR
60Output an ed script.
61.TP
62\fB\-\-normal\fR
63Output a normal diff.
64.TP
65\fB\-n\fR \fB\-\-rcs\fR
66Output an RCS format diff.
67.TP
68\fB\-y\fR \fB\-\-side\-by\-side\fR
69Output in two columns.
70.TP