File: cdiff.xml

package info (click to toggle)
colordiff 1.0.18-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 176 kB
  • ctags: 10
  • sloc: perl: 455; xml: 201; makefile: 90; sh: 38
file content (70 lines) | stat: -rw-r--r-- 1,996 bytes parent folder | download | duplicates (3)
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
<?xml version="1.0" encoding="utf8"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
 "/usr/share/sgml/docbook/dtd/xml/4.1.2/docbookx.dtd" [
 <!ENTITY diff "<command>diff</command>">
 <!ENTITY cdiff "<application>cdiff</application>">
]>

<!-- mostly borrowed from bogofilter's bogofilter.xml file, originally
     by eric raymond -->

<refentry id='cdiff.1'>
  <refentryinfo>
    <authorgroup>
        <author>
            <firstname>Ville</firstname>
            <surname>Skyttä</surname>
            <contrib>cdiff author</contrib>
        </author>
        <author>
            <firstname>Dave</firstname>
            <surname>Ewart</surname>
            <contrib>colordiff author, packager for colordiff/cdiff</contrib>
        </author>
    </authorgroup>
    <productname>cdiff</productname>
  </refentryinfo>
  <refmeta>
    <refentrytitle>cdiff</refentrytitle>
    <manvolnum>1</manvolnum>
    <refmiscinfo class="manual">User Commands</refmiscinfo>
  </refmeta>

  <refnamediv id='name'>
    <refname>cdiff</refname>
    <refpurpose>a wrapper tool for colordiff</refpurpose>
  </refnamediv>

<refsynopsisdiv id='synopsis'>
  <cmdsynopsis>
    <command>cdiff</command>
    <arg choice='req'><replaceable>URL|FILE</replaceable></arg>
  </cmdsynopsis>
</refsynopsisdiv>

<refsect1 id='description'><title>Description</title>

<para>&cdiff; is a wrapper for colordiff and will add colour to a diff given
in a URL or a file, e.g.</para>

<screen>
cdiff http://some.url.com/foo/thing.patch
</screen>

<para>It also adds support for reading gzip, bzip2, xz, and lzma compressed
diffs, and like colordiff, also supports reading diffs from standard input if
URL or a filename is not specified.  &cdiff; pipes colordiff's output through
less -R.</para>

</refsect1>

<refsect1 id='seealso'><title>See Also</title>

<para>&cdiff; is part of the colordiff package, which should be consulted for
further reference.</para>

</refsect1>

</refentry>

<!-- vim:set ts=2 sw=2 et: -->