home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.c:17043 comp.software-eng:4470
- Path: sparky!uunet!olivea!charnel!sifon!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!bloom-picayune.mit.edu!news
- From: scs@adam.mit.edu (Steve Summit)
- Newsgroups: comp.lang.c,comp.software-eng
- Subject: Re: Wanted: Supported equivalent of FileMerge
- Message-ID: <1992Nov23.170521.2675@athena.mit.edu>
- Date: 23 Nov 92 17:05:21 GMT
- References: <19921118.105028.391@almaden.ibm.com> <1992Nov19.052343.14116@netcom.com>
- Sender: news@athena.mit.edu (News system)
- Organization: none, at the moment
- Lines: 34
- Nntp-Posting-Host: adam.mit.edu
-
- In article <1992Nov19.052343.14116@netcom.com>, mcgregor@netcom.com (Scott Mcgregor) writes:
- > In article <19921118.105028.391@almaden.ibm.com> dougv@vnet.ibm.com writes:
- >> Does anyone know of a "FileMerge" type program which allows you to visually
- >> merge two files into a third one with selected parts from each of the
- >> originals? SUN used to distribute such a program, but it's only SunView
- >> (I'd like OpenLook), and it's no longer supported.
- >
- > My company, Prescient Software Inc. sells such a product, Merge Ahead.
- > The 2.1 release is based upon Motif widgets, but runs fine under Open
- > Windows...
-
- This has little to do with either of these newsgroups, but I
- can't resist a suggestion. If there is anyone out there running
- neither Motif nor Open Windows, or who does not have money to
- spend on tools like this, or who simply prefers using existing
- tools to get the job done when reasonably possible, and who is
- running something like Unix, just do
-
- diff -DBLORT oldfile file > newfile
-
- The output will be a merge of the two input files, with
- differences indicated by easily-located lines of the form
- "#ifdef BLORT" [note 1]. Use your favorite text editor to locate
- these differences and select which alternatives should appear in
- the final output.
-
- (Of course, if you find this technique cumbersome, you are more
- than welcome to pursue more "elegant," special-purpose solutions.)
-
- Steve Summit
- scs@adam.mit.edu
-
- Note 1. Early versions of diff, however, did not support the -D
- option.
-