Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2017
    Posts
    4

    Default waht output options should be mentipneto genrate report in text file instead of html

    Hi ,

    I'm comparing two text files I have used below BC script its generated report file in html format as specified in
    output options .
    text-report layout:side-by-side &
    options:ignore-unimportant,display-mismatches &
    output-to:%3 output-options:html-color &
    %1 %2

    what is output option to generate report file in next format. Also why the reports are big size like 15 mb is there any way
    to reduce the report file size.

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,899

    Default

    Hello,

    Remove "output-options:html-color" to revert to a plain .txt output, while also updating %3 to be a .txt file.

    The size of the report is controlled by the text content within it. How large are files %1 and %2, and how much of their text is different? If both files are large, and have about ~7+ megs of different text, then including all of that text in a report would make ~15 meg file.
    Aaron P Scooter Software

  3. #3
    Join Date
    Oct 2017
    Posts
    4

    Default

    Hi Aron,

    I'm getting different output like both files content is same even if I provide two different text files.
    Could you please provide script for this.

    script I have used
    text-report
    options:ignore-unimportant,display-mismatches &
    output-to:%3
    %1 %2

  4. #4
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    4,728

    Default

    The text-report command is a single command, either all on one line or with & to carry over onto multiple lines. It also looks like you're missing the layout portion of the text-report command.

    Corrected script:
    Code:
    text-report layout:side-by-side options:ignore-unimportant,display-mismatches output-to:"%3" "%1" "%2"
    Command line to run the script:
    bcompare.exe @script.txt file1.txt file2.txt out.txt
    Chris K Scooter Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •