On Wed, Jul 18, 2001 at 05:52:53PM -0500, Ken Williams (ken@forum.swarthmore.edu) wrote: > > The idea I had was to just use 'diff' without a full pathname (i.e. let > the shell search $PATH), and to let the user add switches by doing > 'make diff -u' or whatever. If I can't get the switches to work that > way (not sure whether 'make' allows it), I'll either skip switches or use > an environment variable. There's a pure-Perl diff by Mark-Jason Dominus at <http://language.perl.com/ppt/src/diff/>; it might be useful to use (part of?) that as either a default or fallback to get Usual Behavior on platforms that don't have diff(1) lying around. -Rich -- Rich Lafferty --------------+----------------------------------------------- Montreal, Quebec, Canada | "Do not dangle the mouse by the cord or http://www.lafferty.ca/ | throw it at coworkers." -- SGI Indy manual rich@lafferty.ca -----------+-----------------------------------------------Thread Previous | Thread Next