1UNWRAPDIFF(1)                      Man pages                     UNWRAPDIFF(1)
2
3
4

NAME

6       unwrapdiff - demangle word-wrapped patches
7

SYNOPSIS

9       unwrapdiff [-v] [file...]
10
11       unwrapdiff {[--help] | [--version]}
12

DESCRIPTION

14       unwrapdiff demangles patches that have been word-wrapped, in an attempt
15       to make them useful.
16
17       The corrected diff is sent to standard output. Note that you will
18       probably need to use the -l option when applying the patch, in order to
19       ignore any whitespace differences there may be.
20

OPTIONS

22       -v
23           Verbose operation. A list of lines that are modified in a way that
24           might be wrong is sent to stderr.
25
26       --help
27           Display a short usage message.
28
29       --version
30           Display the version number of unwrapdiff.
31

LIMITATIONS

33       Some heuristics are used to decide whether use a space to recombine a
34       wrapped line, or just join them together. Currently this is done by
35       comparing with last three characters of a line with the first two
36       characters of its continuation, and using a space if any of them are
37       different.
38
39       The patch needs to have been valid before being word-wrapped.
40
41       The last line of a hunk is nearly always ambiguous. If the next line
42       begins “@@”, “Index: ”, “diff ” or “--- ” then it is taken to be
43       complete; otherwise it is unwrapped using the next line.
44

AUTHOR

46       Tim Waugh <twaugh@redhat.com>
47           Package maintainer
48
49
50
51patchutils                      17 January 2003                  UNWRAPDIFF(1)
Impressum