mgdiff - xdiff clone

Distribution: Ubuntu 12.04 LTS (Precise Pangolin)
Repository: Ubuntu Universe amd64
Package name: mgdiff
Package version: 1.0
Package release: 29
Package architecture: amd64
Package type: deb
Installed size: 232 B
Download size: 62.07 KB
Official Mirror:
mgdiff is modeled after xdiff and provides a nice graphical interface for comparing the contents of two text files. rmgdiff recurses down two directories collating difference information and invoking mgdiff whenever two text files differ.



    Binary package: mgdiff_1.0-29_amd64.deb
    Source package: mgdiff

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install mgdiff deb package:
      # sudo apt-get install mgdiff


    • /etc/X11/app-defaults/Mgdiff
    • /usr/bin/cvsmgdiff
    • /usr/bin/mgdiff
    • /usr/bin/rmgdiff
    • /usr/lib/rmgdiff/rmgdiff
    • /usr/lib/rmgdiff/rmgdiff.awk
    • /usr/share/doc/mgdiff/README.Debian
    • /usr/share/doc/mgdiff/changelog.Debian.gz
    • /usr/share/doc/mgdiff/copyright
    • /usr/share/doc/mgdiff/mgdiff.README
    • /usr/share/doc/mgdiff/viewpatch
    • /usr/share/man/man1/cvsmgdiff.1.gz
    • /usr/share/man/man1/mgdiff.1x.gz
    • /usr/share/man/man1/rmgdiff.1x.gz


    2008-06-10 - Edelhard Becker <> mgdiff (1.0-29) unstable; urgency=low * Build-depend on xutils-dev rather than xutils (thanks, Daniel Schepler) Closes: #485210 * Bumped to standards version 3.8.0 * removed DH_COMPAT from debian/rules * fixed rules clean target: removed "-", added debian/tmp * fixed manpages (wrong Minus "-")

    2005-10-25 - Edelhard Becker <> mgdiff (1.0-28) unstable; urgency=low * bug fixes by Javier Fernández-Sanguino Peña <> - Insecure /tmp usage in viewpatch example script (Closes: #335188) - mgdiff: Allows user to set both input as '-' (Closes: #335191) Thanks Javier!

    2005-06-23 - Edelhard Becker <> mgdiff (1.0-27) unstable; urgency=low * updated Paul Serices rmgdiff shell and awk scripts to 1.8.1, available from his rmgdiff page (see copyright file); this should fix problems with filenames and dirs with spaces and gawk compatibility, thanks Paul!

    2005-05-27 - Edelhard Becker <> mgdiff (1.0-26) unstable; urgency=low * fixed rmgdiff.1x typo, thanks A Costa (Closes: #310343)

    2005-03-12 - Edelhard Becker <> mgdiff (1.0-25) unstable; urgency=low * switched to lesstif2, get rid of lesstif1 * switched to debhelper, get rid of debmake * made debhelper version lintian-clean

    2004-10-07 - Edelhard Becker <> mgdiff (1.0-24) unstable; urgency=low * bug fixes by Erik de Castro Lopo <erikd AT mega-nerd DOT com>: - clean compiler warnigs (Closes: #271623) - fix Ctrl-U/Ctrl-P handling (Closes: #271624) - fix UTF8 handling (Closes: #135854) Thanks Erik!

    2004-06-27 - Edelhard Becker <> mgdiff (1.0-23) unstable; urgency=low * Removes Xmu references from the build process (Closes: Bug#256419, must been there for ages, thanks Daniel). * corrected manpage sections to 1x

    2004-04-08 - Edelhard Becker <> mgdiff (1.0-22) unstable; urgency=low * included Roger Gammans <> "Patch Viewer" plus necessary mgdiff patch * Bumped to standards version 3.6.1

    2003-07-09 - Edelhard Becker <> mgdiff (1.0-21) unstable; urgency=low * scrambled Eriks e-mail in the manpage also * typo in man-page fixed (thx Erik pointing this out)

    2003-06-07 - Edelhard Becker <> mgdiff (1.0-20) unstable; urgency=low * applied lots of patches from Erik de Castro Lopo <erikd AT mega-nerd DOT com> (explanations from his e-mail to me): - mgdiff-includes.diff: Fix a couple of missing includes. - mgdiff-islatin.diff: Fix a warning message. - mgdiff-sun-fix.diff: A fix for SUN Solaris. - mgdiff-tempfile.diff: Replace use of tempnam() with something more secure. - mgdiff-warnings.diff: Remove compiler warnings when using CFLAGS equal to -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes [eb: added the flags to the Imakefile]. - mgdiff-snprintf.diff: Replace all usage of sprintf() with snprintf(). - mgdiff-save-left-right.diff: Add file menu entries for "Save as Left..." and "Save as Right...". Includes increment of APP_DEFAULTS_VERSION number, mods to and checks for correct app-default value. - mgdiff-save-unselected.diff: Allow saving files with unselected blocks. - mgdiff-select-both.diff: Add ability to select both sides by clicking with the middle button. When both sides are selected the two blocks are written to the output file using markings similar to the markings CVS palces in a file when a merge goes wrong. - mgdiff-man.diff: Update the man page to reflect the above changes. Also added my own copyright to a couple of files where I made anything more than minor changes. I'm quite happy to have my changes under the same license as the original code. * changed maintainer address to debian account * Bumped to standards version 3.5.10 * updated README