Lmerge 1.1
The lmerge program reads two files, and merges them in such a way that no
information is lost. Similarities of the files appear in the same order
relative to each other. Differences appear in the same order as they appear
in the appropriate input file, but are interleaved in the output. For example,
assume the input files have the following lines:
A B
B C
C E
D F
G G
H I
I J
The output would look something like this:
A
B
C
D
E
F
G
H
I
J
An alternative format marks up the output to indicate the source file
containing each line of output, and looks like this:
< A
= B
= C
< D
> E
> F
= G
< H
= I
> J
The output is written to the standard output file.
Provided with this utility are its source code, a Makefile, and a man
page. The Software ChipSet reusable software component library is a
prerequisite. A "diff" utility is also a prerequisite; the standard Unix
"diff" program will work, as will the Gnu Project's implementation. Note
that the quality of the output of the "lmerge" program depends heavily on
the implementation of the "diff" program.
To install the "lmerge" utility, edit the Makefile as needed. The ROOT,
MANDIR, DIFF, and INSTALLMAN macros are likely to require site-specific
values. Perform a "make all" to build the utility, and "make install"
to put it in its final location.
This software is donated to the public domain by its author, Paul Sander
(paul@sander.cupertino.ca.us).
History:
1.1 -- Repaired heap corruption problem in which a static buffer supplied by
a library was freed. Added -h option for usage help. Added -m option
that marks up output to indicate which source file each line comes
from. Improved command line error checking.
1.0 -- Initial release.
Name Last modified Size Description
Parent Directory 13-Aug-2005 12:37 -
lmerge.tar.Z 13-Aug-2005 12:36 6k
Apache/1.3.33 Server at zul.wakawaka.com Port 80