A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

September 24, 2009

compare files whose lines have been broken

Forums: 

Example, first file :
1234 56asdfh asdfauiiiiiiil asdf

Second file :

1234 56asdfh
asdfauiiiiiiil
asdf

I would like to compare these two files and find no difference. I want to ignore all the breaking lines
Is there a command or a tool that can do that ? I want to use it in a batch file.
Thanks :)

Click Here!