Announcement

Collapse
No announcement yet.

Script to compare 2 files with Diff only

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

  • Chris
    replied
    Hi gdaw,

    It isn't possible to only output the left or right side in a script.

    Here's an example script to compare two files and write the results to a file:

    file-report layout:side-by-side output-to:c:\report.html output-options:html-color c:\file1.txt c:\file2.txt

    All of the options for the file-report command are listed in the Scripting Reference in the help file.

    Leave a comment:


  • Guest's Avatar
    Guest started a topic Script to compare 2 files with Diff only

    Script to compare 2 files with Diff only

    I am trying to create a batch script that I can use with BC2 that can compare 2 files and just show me the right (or left) side of the comparison. Is this available or possible?

    Thanks,
Working...
X