Ignore Split Text
Posted: Wed May 25, 2011 7:06 am
I am comparing two large text files but have an issue where I have been unable to ignore end of line breaks, e.g. when I compare the following two items:
Strange Game Behavior
Power-On
In my comparison I really want to ignore the fact that this text is on different lines and that the text may be split - I just want to know if the same text is present in both files in the same order - is this possible? I have a bunch of similar large files to check so being able to do this would be a huge help.
Thanks
- Game Resets (Diodes, Filter Caps, Bridge Rectifiers, Power Supply) and Strange Game Behavior
PowerOn
CPU LEDs and Sound Beeps
and - Game Resets (Diodes, Filter Caps, Bridge Rectifiers, Power Supply) and
Strange Game Behavior
Power-On CPU LEDs and Sound Beeps
Strange Game Behavior
Power-On
In my comparison I really want to ignore the fact that this text is on different lines and that the text may be split - I just want to know if the same text is present in both files in the same order - is this possible? I have a bunch of similar large files to check so being able to do this would be a huge help.
Thanks