redhat man page for unwrapdiff

Query: unwrapdiff

OS: redhat

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

UNWRAPDIFF(1)															     UNWRAPDIFF(1)

NAME
unwrapdiff - demangle word-wrapped patches
SYNOPSIS
unwrapdiff [-v] [file...] unwrapdiff {--help | --version}
DESCRIPTION
unwrapdiff demangles patches that have been word-wrapped, in an attempt to make them useful. The corrected diff is sent to standard output. Note that you will probably need to use the -l option when applying the patch, in order to ignore any whitespace differences there may be.
OPTIONS
-v Verbose operation. A list of lines that are modified in a way that might be wrong is sent to stderr. --help Display a short usage message. --version Display the version number of unwrapdiff.
LIMITATIONS
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 dif- ferent. The patch needs to have been valid before being word-wrapped. 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.
AUTHOR
Tim Waugh <twaugh@redhat.com>. patchutils 17 January 2003 UNWRAPDIFF(1)
Related Man Pages
combinediff(1) - redhat
unwrapdiff(1) - debian
flipdiff(1) - suse
combinediff(1) - linux
combinediff(1) - hpux
Similar Topics in the Unix Linux Community
Read line by line not word by word
How to take first word of each line in the file
Replace word with sed
Line contains a word in shell
Longest word in a file