ASP files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • FlashMerlot
    New User
    • Nov 2007
    • 1

    ASP files

    In classic ASP, the following two code segments are identical regardless of line-feed/carriage-return

    ======================fileONE===================
    <%If Errors Then%><%=ErrorMessage%><hr size="1" color="#cccccc" noshade><%End If%>

    ======================fileTWO===================
    <%If Errors Then%>
    <%=ErrorMessage%>
    <hr size="1" color="#cccccc" noshade>
    <%End If%>


    How do I tell Beyond compare they are identical? And the differences are unimportant? Where differences are Carriage-Returns and/or Line-Feeds?
  • Aaron
    Team Scooter
    • Oct 2007
    • 16002

    #2
    Re: ASP files

    Beyond Compare compares Text on a Line by Line basis. The way to compare those two files is to sort/change one format to match the other.

    http://www.scootersoftware.com/suppo..._morerules.php

    We do not have an ASP rule, but HTML/XML Tidy may help in your case. Try it out on some Test/Backed-up files.
    Aaron P Scooter Software

    Comment

    Working...