]>
Commit | Line | Data |
---|---|---|
c3d60961 JB |
1 | --- diffutils-3.1/doc/diffutils.texi.orig 2011-08-04 18:57:00.000000000 +0200 |
2 | +++ diffutils-3.1/doc/diffutils.texi 2011-08-14 06:50:59.566389453 +0200 | |
3 | @@ -29,18 +29,14 @@ | |
64efbbaa | 4 | |
efa0ec59 JB |
5 | @c Debian install-info (up through at least version 1.9.20) uses only the |
6 | @c first dircategory. Put this one first, as it is more useful in practice. | |
7 | -@dircategory Individual utilities | |
64efbbaa | 8 | +@dircategory File utilities: |
efa0ec59 | 9 | @direntry |
c3d60961 JB |
10 | -* cmp: (diffutils)Invoking cmp. Compare 2 files byte by byte. |
11 | -* diff: (diffutils)Invoking diff. Compare 2 files line by line. | |
12 | -* diff3: (diffutils)Invoking diff3. Compare 3 files line by line. | |
13 | -* patch: (diffutils)Invoking patch. Apply a patch to a file. | |
14 | -* sdiff: (diffutils)Invoking sdiff. Merge 2 files side-by-side. | |
efa0ec59 JB |
15 | -@end direntry |
16 | - | |
329c20b6 | 17 | -@dircategory Text creation and manipulation |
efa0ec59 | 18 | -@direntry |
c3d60961 JB |
19 | -* Diffutils: (diffutils). Comparing and merging files. |
20 | +* cmp: (diffutils)cmp. Compare 2 files byte by byte | |
21 | +* diff: (diffutils)diff. Compare 2 files line by line | |
22 | +* diff3: (diffutils)diff3. Compare 3 files line by line | |
23 | +* patch: (diffutils)patch. Apply a patch to a file | |
24 | +* sdiff: (diffutils)sdiff. Merge 2 files side-by-side | |
25 | +* Diffutils: (diffutils). Comparing and merging files | |
efa0ec59 JB |
26 | @end direntry |
27 | ||
64efbbaa | 28 | @titlepage |
c3d60961 JB |
29 | @@ -81,11 +77,11 @@ |
30 | * Merging with patch:: Using @command{patch} to change old files into new ones. | |
31 | * Making Patches:: Tips for making and using patch distributions. | |
32 | ||
33 | -* Invoking cmp:: Compare two files byte by byte. | |
34 | -* Invoking diff:: Compare two files line by line. | |
35 | -* Invoking diff3:: Compare three files line by line. | |
36 | -* Invoking patch:: Apply a diff file to an original. | |
37 | -* Invoking sdiff:: Side-by-side merge of file differences. | |
38 | +* cmp:: Compare two files byte by byte. | |
39 | +* diff:: Compare two files line by line. | |
40 | +* diff3:: Compare three files line by line. | |
41 | +* patch:: Apply a diff file to an original. | |
42 | +* sdiff:: Side-by-side merge of file differences. | |
43 | ||
44 | * Standards conformance:: Conformance to the @acronym{POSIX} standard. | |
45 | * Projects:: If you've found a bug or other shortcoming. | |
46 | @@ -407,7 +403,7 @@ | |
47 | the @option{-s}, @option{--quiet}, or @option{--silent} option to | |
48 | suppress that information, so that @command{cmp} | |
49 | produces no output and reports whether the files differ using only its | |
50 | -exit status (@pxref{Invoking cmp}). | |
51 | +exit status (@pxref{cmp}). | |
52 | ||
53 | @c Fix this. | |
54 | Unlike @command{diff}, @command{cmp} cannot compare directories; it can only | |
55 | @@ -481,7 +477,7 @@ | |
56 | option to show the values of each differing byte in the two files. | |
57 | With @acronym{GNU} @command{cmp}, you can also use the @option{-b} or | |
58 | @option{--print-bytes} option to show the @acronym{ASCII} representation of | |
59 | -those bytes. @xref{Invoking cmp}, for more information. | |
60 | +those bytes. @xref{cmp}, for more information. | |
61 | ||
62 | If @command{diff3} thinks that any of the files it is comparing is binary | |
63 | (a non-text file), it normally reports an error, because such | |
64 | @@ -1996,7 +1992,7 @@ | |
65 | on whether they are two-way or three-way, and lines are annotated by | |
66 | their location in the input files. | |
67 | ||
68 | -@xref{Invoking diff3}, for more information on how to run @command{diff3}. | |
69 | +@xref{diff3}, for more information on how to run @command{diff3}. | |
70 | ||
71 | @menu | |
72 | * Sample diff3 Input:: Sample @command{diff3} input for examples. | |
73 | @@ -2425,7 +2421,7 @@ | |
74 | With @command{sdiff}, you can merge two files interactively based on a | |
75 | side-by-side @option{-y} format comparison (@pxref{Side by Side}). Use | |
76 | @option{--output=@var{file}} (@option{-o @var{file}}) to specify where to | |
77 | -put the merged text. @xref{Invoking sdiff}, for more details on the | |
78 | +put the merged text. @xref{sdiff}, for more details on the | |
79 | options to @command{sdiff}. | |
80 | ||
81 | Another way to merge files interactively is to use the Emacs Lisp | |
82 | @@ -2550,7 +2546,7 @@ | |
83 | normally replaces each file @var{f} with its new version, putting reject | |
84 | hunks (if any) into @samp{@var{f}.rej}. | |
85 | ||
86 | -@xref{Invoking patch}, for detailed information on the options to | |
87 | +@xref{patch}, for detailed information on the options to | |
88 | @command{patch}. | |
89 | ||
90 | @menu | |
91 | @@ -3468,7 +3464,7 @@ | |
92 | lines for proper operation when patches do not exactly match the input | |
93 | files. | |
94 | ||
95 | -@node Invoking cmp | |
96 | +@node cmp | |
97 | @chapter Invoking @command{cmp} | |
98 | @cindex invoking @command{cmp} | |
99 | @cindex @command{cmp} invocation | |
100 | @@ -3648,7 +3644,7 @@ | |
101 | (@samp{Yi} is a GNU extension to IEC 60027-2.) | |
102 | @end table | |
103 | ||
104 | -@node Invoking diff | |
105 | +@node diff | |
106 | @chapter Invoking @command{diff} | |
107 | @cindex invoking @command{diff} | |
108 | @cindex @command{diff} invocation | |
109 | @@ -3965,7 +3961,7 @@ | |
110 | Use the side by side output format. @xref{Side by Side Format}. | |
111 | @end table | |
112 | ||
113 | -@node Invoking diff3 | |
114 | +@node diff3 | |
115 | @chapter Invoking @command{diff3} | |
116 | @cindex invoking @command{diff3} | |
117 | @cindex @command{diff3} invocation | |
118 | @@ -4088,7 +4084,7 @@ | |
119 | @xref{Which Changes}. | |
120 | @end table | |
121 | ||
122 | -@node Invoking patch | |
123 | +@node patch | |
124 | @chapter Invoking @command{patch} | |
125 | @cindex invoking @command{patch} | |
126 | @cindex @command{patch} invocation | |
127 | @@ -4308,7 +4304,7 @@ | |
128 | ||
129 | @end table | |
130 | ||
131 | -@node Invoking sdiff | |
132 | +@node sdiff | |
133 | @chapter Invoking @command{sdiff} | |
134 | @cindex invoking @command{sdiff} | |
135 | @cindex @command{sdiff} invocation |