I have two files, the contents of which are exactly same as it appears to my eyes, however, the diff of both shows all lines being different, the reason i suspect has something to do with character format/encoding but i am not sure.
The output of “file –mime” on both is same.
Can someone enlighten me on whats going on? and how could i possibly change one form to another, some command/tool.
Maybe line endings? Try
dos2unixandunix2dos.