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

# compare: comparison utilities

Name | Type | Description
compare | verb | compare character data
fcompare | verb | compare two text files

compare

    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

    omits comparison of swapped lines where
    1e7 <: product of number of non-trivial lines

fcompare

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

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