Linux Commands Examples

A great documentation place for Linux commands

recountdiff

recompute patch counts and offsets


see also : rediff

Synopsis

recountdiff [file...]

recountdiff {[--help] | [--version]}


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !

description

recountdiff recomputes the counts and offsets in unified context diffs. It does this in two passes: first the counts are corrected by inspection of the actual patch lines, and then the offsets are adjusted according to the computed counts.

The corrected diff is sent to standard output.

options

--help

Display a short usage message.

--version

Display the version number of recountdiff.

limitations

There are some things that cannot be dealt with. If you have removed the first context line in a hunk, for example, there is no way for recountdiff to know that. For more precise fixing up, use rediff(1), which uses the original and modified diffs.


see also

rediff


author

Tim Waugh <twaugh[:at:]redhat[:dot:]com>

Package maintainer

How can this site be more helpful to YOU ?


give  feedback