Under the fcompare is

  fcomp_jcompare_

here below is each line executed and looking at it again I notice that the
filename
has accuired and extra c at the end and then the read and compare failes

c:/users/bjorn/j701-user/temp/135.ijs

has changed to:

c:/users/bjorn/j701-user/temp/135.ijsc

2011/11/21 Björn Helgason <[email protected]>

>    ny
> c:/users/bjorn/j701-user/temp/135.ijsc
>    f=. 1!:1 :: _1:
>    tx=. f x=. fboxname x
>    tx
> _1
>    ty=. f y=. fboxname y
>    ty
> _1
>    y
> ┌──────────────────────────────────────┐
> │c:/users/bjorn/j701-user/temp/135.ijsc│
> └──────────────────────────────────────┘
>
> 2011/11/21 Björn Helgason <[email protected]>
>
>>   jpath'~temp/135.ijs'
>> c:/users/bjorn/j701-user/temp/135.ijs
>>
>> Is something wrong with these paths or files?
>>
>> As you can see I can read them both but
>> neither fcompare nor the directory match acknowledges their
>> presence and does not do anything
>>
>> 2011/11/20 Björn Helgason <[email protected]>
>>
>>>    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  |
>>>    (   -.  |        `-----------------------------------'
>>>    |     ) |         (\_ _/)
>>>   (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
>>>    `. )----'        (")_(") ☃☠
>>>
>>
>>
>>
>> --
>> 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  |
>>    (   -.  |        `-----------------------------------'
>>    |     ) |         (\_ _/)
>>   (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
>>    `. )----'        (")_(") ☃☠
>>
>
>
>
> --
> 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  |
>    (   -.  |        `-----------------------------------'
>    |     ) |         (\_ _/)
>   (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
>    `. )----'        (")_(") ☃☠
>



-- 
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

Reply via email to