There are several free diff utils. I use meld under Linux, but there are
equivalents in all platforms.

It would be a lot of work to duplicate something like meld in J. For my own
use, I like the quick summaries that are given in Directory Match, together
with the ability to switch out to an external diff for scripts where there
are a lot of changes and you want to examine each change in turn.

On Mon, Nov 21, 2011 at 11:43 PM, Ian Clark <[email protected]> wrote:

> That's a neat utility. Pity there's no Mac version -- I don't often
> dust off my old Win2000.
> (For people unable to run it: it shows 2 files side-by-side, padding
> each side to align comparable lines)
>
> I've seen similar displays written in APL. Might be instructive to
> write one in J - if nobody's done it.
> It would be a nice application of /= to boxed strings.
>
>
> On Sun, Nov 20, 2011 at 9:43 PM, Roger Hui <[email protected]>
> wrote:
> > I myself have been using the free software ExamDiff
> > http://www.prestosoft.com/edp_examdiff.asp for about 8 years, ever since
> > the late Alex Rufon recommended it to me.  It is used to compare text
> files.
> >
> >
> >
> > On Sun, Nov 20, 2011 at 12:15 PM, Ian Clark <[email protected]>
> wrote:
> >
> >> Thanks Chris.
> >>
> >> I'd discovered Directory Match from a quick search of the J wiki on
> >> "compare" and hurriedly tried it before I posed my question to the
> >> list, but totally missed the significance of the buttons.
> >>
> >> ...Which do what I was looking for.
> >>
> >> On Sun, Nov 20, 2011 at 6:59 PM, chris burke <[email protected]>
> wrote:
> >> > fcompare is a cover for compare, that compares two files.
> >> >
> >> > Also look at Directory Match, available in the gui. This uses compare
> >> under
> >> > the covers, and has a button to call an external diff like meld for
> more
> >> > control.
> >> >
> >> > On Mon, Nov 21, 2011 at 12:09 AM, Ian Clark <[email protected]>
> >> wrote:
> >> >
> >> >> Thanks, David. Just what I need.
> >> >>
> >> >> I'll have to get to know my addons a lot better.
> >> >>
> >> >>
> >> >>
> >> >> On Sun, Nov 20, 2011 at 2:11 PM, David Mitchell <
> [email protected]>
> >> >> wrote:
> >> >> > I have used these 2 methods on Windows and J6.
> >> >> >
> >> >> > 0:
> >> >> > Assume f1 and f2 contain the full file path to two J scripts.
> >> >> >
> >> >> > 1:
> >> >> >
> >> >> > load'compare'
> >> >> > load'files'
> >> >> > (fread fn1) compare_jcompare_ (fread fn2)
> >> >> >
> >> >> > 2:
> >> >> >
> >> >> > load'task'
> >> >> > shell 'diff ',f1,' ',f2
> >> >> >
> >> >> > --
> >> >> > David Mitchell
> >> >> >
> >> >> > On 11/20/2011 8:09, Ian Clark wrote:
> >> >> >> Has anyone written a verb to compare two scripts? (Just to save me
> >> >> >> writing one...)
> >> >> >>
> >> >> >> Two literal nouns with LF-separated lines will do. Changed /
> deleted
> >> /
> >> >> >> inserted lines.
> >> >> >>
> >> ----------------------------------------------------------------------
> >> >> >> For information about J forums see
> >> http://www.jsoftware.com/forums.htm
> >> >> >>
> >> >> >
> ----------------------------------------------------------------------
> >> >> > For information about J forums see
> >> http://www.jsoftware.com/forums.htm
> >> >> >
> >> >>
> ----------------------------------------------------------------------
> >> >> For information about J forums see
> http://www.jsoftware.com/forums.htm
> >> >>
> >> > ----------------------------------------------------------------------
> >> > For information about J forums see
> http://www.jsoftware.com/forums.htm
> >> >
> >> ----------------------------------------------------------------------
> >> For information about J forums see http://www.jsoftware.com/forums.htm
> >>
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to