Name | Type | Description |
compare | verb | compare character data |
fcompare | verb | compare two text files |
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 lines
compare two 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'