/usr/share/gtk-doc/html/cutter/cut-diff.html is in cutter-testing-framework-doc 1.1.7-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>cut-diff</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="Cutter Reference Manual">
<link rel="up" href="command.html" title="Command">
<link rel="prev" href="cutter.html" title="cutter">
<link rel="next" href="writing-test.html" title="Writing test">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="cutter.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="command.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Cutter Reference Manual</th>
<td><a accesskey="n" href="writing-test.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry" title="cut-diff">
<a name="cut-diff"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="cut-diff.top_of_page"></a>cut-diff</span></h2>
<p>cut-diff — show difference between 2 files with color</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1" title="NAME">
<a name="id435550"></a><h2>NAME</h2>
<p>cut-diff - show difference between 2 files with color</p>
</div>
<div class="refsect1" title="SYNOPSIS">
<a name="id413259"></a><h2>SYNOPSIS</h2>
<p>
<code class="code">cut-diff</code>
[
<span class="emphasis"><em>option ...</em></span>
]
<span class="emphasis"><em>file1</em></span>
<span class="emphasis"><em>file2</em></span>
</p>
</div>
<div class="refsect1" title="DESCRIPTION">
<a name="id423561"></a><h2>DESCRIPTION</h2>
<p>cut-diff is a diff command that uses diff feature in Cutter. It shows difference with color.</p>
<p>It's recommended that you use a normal diff(1) when you want to use with patch(1) or you don't need color.</p>
</div>
<div class="refsect1" title="OPTIONS">
<a name="id396859"></a><h2>OPTIONS</h2>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><a name="cut-diff.--version"></a>--version</span></p></td>
<td><p>cut-diff shows its own version and exits.</p></td>
</tr>
<tr>
<td><p><span class="term"><a name="cut-diff.-c"></a>-c [yes|true|no|false|auto], --color=[yes|true|no|false|auto]</span></p></td>
<td>
<p>If 'yes' or 'true' is specified, cut-diff uses colorized output by escape sequence. If 'no' or 'false' is specified, cut-diff never use colorized output. If 'auto' or the option is omitted, cut-diff uses colorized output if available.</p>
<p>The default is auto.</p>
</td>
</tr>
<tr>
<td><p><span class="term"><a name="cut-diff.-u"></a>-u, --unified</span></p></td>
<td><p>cut-diff uses unified diff format.</p></td>
</tr>
<tr>
<td><p><span class="term"><a name="cut-diff.--context-lines"></a>--context-lines=LINES</span></p></td>
<td>
<p>
Shows diff context around
<code class="code">LINES</code>
.
</p>
<p>All lines are shown by default. When unified diff format is used, 3 lines are shown by default.</p>
</td>
</tr>
<tr>
<td><p><span class="term"><a name="cut-diff.--label"></a>--label=LABEL, -L=LABEL</span></p></td>
<td>
<p>
Uses
<code class="code">LABEL</code>
as a header label. The first
<span class="emphasis"><em>--label</em></span>
option value is used as
<span class="emphasis"><em>file1</em></span>
's label and the second
<span class="emphasis"><em>--label</em></span>
option value is used as
<span class="emphasis"><em>file2</em></span>
's label.
</p>
<p>Labels are the same as file names by default.</p>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1" title="EXIT STATUS">
<a name="id423810"></a><h2>EXIT STATUS</h2>
<p>The exit status is 0 for success, non-0 otherwise.</p>
<p>TODO: 0 for non-difference, 1 for difference and non-0 for errors.</p>
</div>
<div class="refsect1" title="EXAMPLE">
<a name="id423824"></a><h2>EXAMPLE</h2>
<p>
In the following example, cut-diff shows difference between
<code class="code">file1</code>
and
<code class="code">file2</code>
:
</p>
<pre class="programlisting">% cut-diff file1 file2</pre>
<p>
In the following example, cut-diff shows difference between
<code class="code">file1</code>
and
<code class="code">file2</code>
with unified diff format:
</p>
<pre class="programlisting">% cut-diff -u file1 file2</pre>
</div>
<div class="refsect1" title="SEE ALSO">
<a name="id429326"></a><h2>SEE ALSO</h2>
<p>diff(1)</p>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.15</div>
</body>
</html>
|