COMPARE

comparison utilities

  compare        compare character data
  fcompare       compare files

Defined items
NameClassDescription
compareVerbcompare character data
fcompareVerbcompare 2 text files

compare............. (v) compare character data

returns list of differences.
arguments may be character strings, with lines delimited
by LF, or character matrices (trailing blanks ignored).

for Mac, tolerates lines delimited by CR.

result shows lines not matched, in form:
   n [l] text
where:
   n    =  0=left argument, 1=right argument
  [l]   =  line number
  text  =  text on line

limits comparison to 1e6 >: product of number of lines

fcompare............ (v) compare 2 text files

form: opt fcompare files
  opt is optional suffix
  files is 2 file names or prefixes
example:
  fcompare 'system\main\myutil.ijs \jbak\system\main\myutil.ijs'
  '\myutil.ijs' fcompare 'system\main \jbak\system\main'

system\main\compare.ijsRelease: 4.02/1998-11-13/12:26