Announcement

Collapse
No announcement yet.

Rules based criteria

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Rules based criteria

    I am using the example provided in the help file and have added the rules-based criteria.

    In the batch file that calls the script I have added the switch after bc2.exe /rules="MyRule". This works fine in the GUI but when I run the script it ignores MyRule. What am I doing wrong?

    criteria rules-based
    file-report layout:side-by-side &
    options:display-mismatches &
    output-to:%3 %1 %2

    I am running version 2.4.1 (241).

  • #2
    Re: Rules based criteria

    Try using this script:

    file-report layout:side-by-side &
    options:ignore-unimportant,display-mismatches &
    output-to:%3 %1 %2

    The criteria command isn't used by the file-report command. File-report always does a rules-based comparison.

    Also, adding ignore-unimportant might be why you weren't getting the results you expected. Without this option, lines with only unimportant differences will be included in the report.
    Chris K Scooter Software

    Comment


    • #3
      Re: Rules based criteria

      Thanks. That worked perfectly.

      Comment

      Working...
      X