[Ilugc] Re: diff---comparing c files

  • From: ramandv@xxxxxxxxxxx (Venkatraman Dhamodaran)
  • Date: Tue Dec 21 18:11:11 2004

Hi all,

Thanks a lot.. Vimdiff is solving my purpose.

Regards,
Venkatraman.D

-----Original Message-----
From: Bharathi S [mailto:sbharathi@xxxxxxxxxxxxx]
Sent: Tuesday, December 21, 2004 5:13 PM
To: Asokan Pichai
Cc: ilugc@xxxxxxxxxxxxx
Subject: Re: [Ilugc] Re: diff---comparing c files


On Tue, 21 Dec 2004, Asokan Pichai wrote:

I wanna compare two c files. If the comment is in the different
line , i can use diff -b -B -I // file1.c file2.c
Is there any way ignore half of a line.

Write a script (using sed,awk,...) to remove the comment and compare

Basically, i wanna compare two c or c++ files only in syntax.

OR just use vimdiff file1.c file2.c

Bye :)
--
Bharathi S

_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Other related posts: