>>  <<  Ndx  Usr  Pri  JfC  LJ  Phr  Dic  Rel  Voc  !:  wd  Help  User

compare: comparison utilities

Name Type Description
compare verb compare character data
fcompare verb compare two text files
fcompares verb compare two text files as strings

compare

compare character data

form: text1 compare text2
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

fcompare

compare two text files

form: opt fcompare files
  opt is optional suffix
  files is 2 file names or prefixes

files as character string is cut on blanks

example:

  fcompare jpath '~system\main\myutil.ijs \jbak\system\main\myutil.ijs'
  '\myutil.ijs' fcompare jpath '~system\main';'\jbak\system\main'


>>  <<  Ndx  Usr  Pri  JfC  LJ  Phr  Dic  Rel  Voc  !:  wd  Help  User