[newbie] How to compare two files?

2004-12-17 Thread Rodolfo Medina
Hi. Suppose that a large text file has been slightly modified by another person, and I want to find out 'a posteriori' what changes were done. Is there a linux command (or set of commands) that can compare the two files and tell what lines are different from one another? Thanks, Rodolfo

Re: [newbie] How to compare two files?

2004-12-17 Thread Todd Slater
On Fri, Dec 17, 2004 at 11:33:18PM +0100, Rodolfo Medina wrote: Hi. Suppose that a large text file has been slightly modified by another person, and I want to find out 'a posteriori' what changes were done. Is there a linux command (or set of commands) that can compare the two files and

Re: [newbie] How to compare two files?

2004-12-17 Thread Simon Roberts
diff compares text files, cmp compares binaries. Cheers, Simon -Original Message- From: Rodolfo Medina [EMAIL PROTECTED] Sent: Dec 17, 2004 2:33 PM To: [EMAIL PROTECTED] Subject: [newbie] How to compare two files? Hi. Suppose that a large text file has been slightly modified

Re: [newbie] How to compare two files?

2004-12-17 Thread yankl
On Friday 17 December 2004 17:33, Rodolfo Medina wrote: Hi. Suppose that a large text file has been slightly modified by another person, and I want to find out 'a posteriori' what changes were done. Is there a linux command (or set of commands) that can compare the two files and tell what