Difference between revisions of "DIFFERENCES"

From VSI OpenVMS Wiki
Jump to: navigation, search
(Created page with "DIFFERENCES is a DCL command that compares the contents of two disk files and displays a listing of the records that do not match. =Syntax= DIFFEREN...")
 
(source .exe file and some qualifiers)
 
Line 1: Line 1:
 
DIFFERENCES is a [[DCL]] [[Command|command]] that compares the contents of two disk [[File|files]] and displays a listing of the records that do not match.  
 
DIFFERENCES is a [[DCL]] [[Command|command]] that compares the contents of two disk [[File|files]] and displays a listing of the records that do not match.  
 +
 +
DIFFERENCES is invoked with DIFF.EXE.
 +
 
=Syntax=
 
=Syntax=
 
  DIFFERENCES  input1-filespec [input2-filespec]
 
  DIFFERENCES  input1-filespec [input2-filespec]
 
==Qualifiers==
 
==Qualifiers==
* /CHANGE_BAR
+
* /CHANGE_BAR - marks differences using the specified character: e.g. /CHANGE_BAR=#
* /COMMENT_DELIMITER
+
* /COMMENT_DELIMITER - ignores characters on a line to the right of (and including) a specified comment character:
* /EXACT
+
** COLON
* /HIGHLIGHT
+
** COMMA
 +
** EXCLAMATION
 +
** FORM_FEED
 +
** LEFT bracket
 +
** RIGHT bracket
 +
** SEMI_COLON
 +
** SLASH
 +
** SPACE
 +
* /EXACT: use with the /PAGE=SAVE and /SEARCH qualifiers to specify a search string that must match the search string exactly and must be enclosed with quotation marks
 +
* /HIGHLIGHT: use with the /PAGE=SAVE and /SEARCH qualifiers to specify the type of highlighting you want when a search string is found (BOLD, BLINK, REVERSE, and UNDERLINE)
 
* /IGNORE
 
* /IGNORE
 
* /MATCH
 
* /MATCH

Latest revision as of 12:52, 6 February 2023

DIFFERENCES is a DCL command that compares the contents of two disk files and displays a listing of the records that do not match.

DIFFERENCES is invoked with DIFF.EXE.

Syntax

DIFFERENCES  input1-filespec [input2-filespec]

Qualifiers

  • /CHANGE_BAR - marks differences using the specified character: e.g. /CHANGE_BAR=#
  • /COMMENT_DELIMITER - ignores characters on a line to the right of (and including) a specified comment character:
    • COLON
    • COMMA
    • EXCLAMATION
    • FORM_FEED
    • LEFT bracket
    • RIGHT bracket
    • SEMI_COLON
    • SLASH
    • SPACE
  • /EXACT: use with the /PAGE=SAVE and /SEARCH qualifiers to specify a search string that must match the search string exactly and must be enclosed with quotation marks
  • /HIGHLIGHT: use with the /PAGE=SAVE and /SEARCH qualifiers to specify the type of highlighting you want when a search string is found (BOLD, BLINK, REVERSE, and UNDERLINE)
  • /IGNORE
  • /MATCH
  • /MAXIMUM_DIFFERENCES
  • /MERGED
  • /MODENUMBER
  • /OUTPUT
  • /PAGE
  • /PARALLEL
  • /SEARCH
  • /SEPARATED
  • /SLP
  • /WIDTH
  • /WINDOW
  • /WRAP