a=.fread jpath'~temp/135.ijs' $a 2236 a=.fread jpath'~temp/t135.ijs' $a 2240 (jpath'~temp/t135.ijs')fcompare jpath'~temp/135.ijs' unable to read
2011/11/20 chris burke <[email protected]> > 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 > -- Björn Helgason, Verkfræðingur Fornustekkum II 781 Hornafirði, t-póst: [email protected] gsm: +3546985532 twitter: @flugfiskur http://groups.google.com/group/J-Programming Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans góður kennari getur stigið á tær án þess að glansinn fari af skónum /|_ .-----------------------------------. ,' .\ / | Með léttri lund verður | ,--' _,' | Dagurinn í dag | / / | Enn betri en gærdagurinn | ( -. | `-----------------------------------' | ) | (\_ _/) (`-. '--.) (='.'=) ♖♘♗♕♔♙ `. )----' (")_(") ☃☠ ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
