.\"Generated by db2man.xsl. Don't modify this, modify the source. .de Sh \" Subsection .br .if t .Sp .ne 5 .PP \fB\\$1\fR .PP .. .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. .TH "UNWRAPDIFF" 1 "17 January 2003" "patchutils" "" .SH NAME unwrapdiff \- demangle word-wrapped patches .SH "SYNOPSIS" .ad l .hy 0 .HP 11 \fBunwrapdiff\fR [\-v] [\fIfile\fR...] .ad .hy .ad l .hy 0 .HP 11 \fBunwrapdiff\fR {\fB\-\-help\fR | \fB\-\-version\fR} .ad .hy .SH "DESCRIPTION" .PP \fBunwrapdiff\fR demangles patches that have been word\-wrapped, in an attempt to make them useful\&. .PP The corrected diff is sent to standard output\&. Note that you will probably need to use the \fB\-l\fR option when applying the patch, in order to ignore any whitespace differences there may be\&. .SH "OPTIONS" .TP \fB\-v\fR Verbose operation\&. A list of lines that are modified in a way that might be wrong is sent to stderr\&. .TP \fB\-\-help\fR Display a short usage message\&. .TP \fB\-\-version\fR Display the version number of unwrapdiff\&. .SH "LIMITATIONS" .PP Some heuristics are used to decide whether use a space to recombine a wrapped line, or just join them together\&. Currently this is done by comparing with last three characters of a line with the first two characters of its continuation, and using a space of any of them are different\&. .PP The patch needs to have been valid before being word\-wrapped\&. .PP The last line of a hunk is nearly always ambiguous\&. If the next line begins ``@@'', ``Index:\~'', ``diff\~'' or ``\-\-\-\~'' then it is taken to be complete; otherwise it is unwrapped using the next line\&. .SH AUTHOR Tim Waugh .