[lug] highlighting word-by-word differences?

Neal McBurnett neal at bcn.boulder.co.us
Tue Sep 9 14:46:17 MDT 2003

On Tue, Sep 09, 2003 at 01:38:29PM -0700, Jeffrey Siegal wrote:
> Neal McBurnett wrote:
> > Ken also noted the "pdiff" program which diffs and pretty-prints the
> > results in postscript.
> > 
> > pdiff is part of a2ps, and uses wdiff by default.
> Interesting that Red Hat includes pdiff (which refernces wdiff in its 
> man page) but not wdiff.  I wonder if pdiff actually tries to use the 
> wdiff executable or has the wdiff code compile in.

The former.  Not so pretty:

 $ pdiff -o q.ps filea fileb
 /usr/bin/pdiff: line 179: wdiff: command not found
 [stdin (wdiff): 0 pages on 0 sheets]
 [Total: 0 pages on 0 sheets] saved into the file `q.ps'

diffutils should probably pick wdiff up.  It would be interesting
to know the history.


More information about the LUG mailing list