bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Diffutils patch for 3.8.1: adding XML output


From: Gutson Daniel-ADG035
Subject: Diffutils patch for 3.8.1: adding XML output
Date: Tue, 7 Aug 2007 13:17:37 -0400

Hi,
    I made this patch for diffutils 3.8.1, which adds diff the ability
to generate differences in XML format.
The option is -m that can take place of -u
For example, when creating a patch, the usual -Naur options can be
replaced by -Namr.
Additionally, -p is also supported, adding another XML level for
functions.

An XML output enables integration with other tools, and makes a patch
'navigable' with any XML browser.


NOTES:
        1) this is a patch for diffutils 3.8.1
        2) Man pages are not included in this patch
        3) I'll do a patch for current CVS version
        4) I'm also developing an extension to diff for adding the
ability to load plugins. This will be the final patch,
                since an output of XML can be a plugin rather than
modifying the diff core itself. Additionally, plugins
                provide support for parsing other languages in the -p
option.
                This means that both this patch and the CVS one are
temporal patches.


BRgds,
        Daniel.
 
Daniel F. Gutson
Software Engineer
Motorola GSG Argentina
Tel = (54)-351-420-9218
Fax = (54)-351-420-9202
 
iProtect Classification
[x] Public
[ ] Internal
[ ] Motorola Confidential Restricted

 
"we made a big mistake in coming down from the trees in the first place"
- D. Adams

Attachment: changes.patch
Description: changes.patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]