This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to compare two text files? Using sed, cmp, diff, tr?


On 26 May 2012 11:01, Georg-Johann Lay wrote:
>
> Is there a valid compare tool that compares text modulo line-endings?

POSIX diff with the -b option should report the files as equal, I
don't know if that's portable enough to rely on though.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]