UNWRAPDIFF(1) Man pages 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 if any of them are
different.
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>
Package maintainer
patchutils 17 January 2003 UNWRAPDIFF(1)
Check Out this Related Man Page
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)
Hi,
Can someone tell me how i can merge the lines that are wrapped.
My file has content somethig like this
Line1 -> xxxx bbbb ccc dddd bababab11
Line2 -> 2222 nnn cccc
Line 3-> yyyyy zzzz uuzuz ioouo oououou11
Line 4 -> 3333 pppp dddd
Line 5-> zzzz kjkj uuzuz ioouo oououou11
Line 6->... (1 Reply)
Can some one help me in finding a "word" in a line ??
ex :
line : = "You may choose an icon for your message "
i want to search for the existance of the word "message"
thanks
sri (2 Replies)
i have this line
my,name,is,john
stored in a file d.sh and i wish to print the line as string..but im getting word by word...have tried this.........
for in $(cat $d.sh);
do
echo $i
done
but this is giving me
my
name
is
john (6 Replies)
I have a file abc:
line 1
line 2
line 3
line 4
And I am successfully e-mailing the file, with this:
mail -s "contents of abc" jdoe@email.com <<EOF
cat abc
EOF
But the e-mail shows up looking like this:
subject: contents of abc
line 1 line 2 line 3 line 4
The carriage returns... (5 Replies)
Hi there.!
I'm trying to make a script that corrects wrong spelling. I want to use sed to replace wrong word with the correct one, but this must be made in a while loop that reads the wrong word from file (with read line) and the correct one from another file. I can't find a way to run sed like... (3 Replies)
I have a peculiar file with record format like given below. Each line is wrapped to next lines after certain number of characters. I want to concatenate all wrapped lines into 1.
Input:(wrapped after 10 columns)
This is li
ne1
This is li
ne2 and
this line
is too lo
ng
Shortline
... (8 Replies)
I have a file and when I match the word "initiators" in the first column I need to be able to print the rest of the columns in that row. This is fine for the most part but on occasion the "initiators" line gets wrapped to the next line. Here is a sample of the file.
caw-enabled ... (3 Replies)