Text Compare Info stats in text report

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sarchule
    New User
    • Mar 2012
    • 1

    Text Compare Info stats in text report

    I'm using a script to perform a folder compare and then output to text:

    folder-report layout:side-by-side options:display-all output-to:myreport.txt

    Question: is there any way to include line info stats within my report? This info is the type of info displayed in the GUI under "Session/Text Compare Info". For each file, I simply need the total number of difference lines. For example, in the GUI, the information might look like this:

    193 same line(s)
    5 important left orphan line(s)
    1 important right orphan line(s)
    15 important difference line(s)

    The stat I need is 21 (sum of the non-same lines) although having all of the info above within the report would work as well.

    Thanks,
    Steve
  • Chris
    Team Scooter
    • Oct 2007
    • 5538

    #2
    The text-report command can give you the number of lines different.

    Example:
    load c:\folder1 c:\folder2
    expand all
    select all.files
    text-report layout:summary output-to:summary.txt
    Chris K Scooter Software

    Comment

    Working...