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 <davidmitch...@att.net> 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