Understanding a diff file | Unix Linux Forums | Linux

  Go Back    


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

Understanding a diff file

Linux


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 10-05-2008
frozensmilz's Avatar
frozensmilz frozensmilz is offline
Registered User
 
Join Date: Aug 2008
Last Activity: 20 December 2012, 6:26 AM EST
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Understanding a diff file

Hi folks,

I am having difficulties in understanding diff file.
I would like to know what the following means in a diff file

ex:
202a251,253
1,102c120,126

I believe 'a' will be 'append'. Line 202 appended to line 251. but why there is 253 ???.

Like the above if any one can tell me how to understand these, it will be helpful.

Any links to useful websites that explains how to interpret diff file will be also enough. thanks.
Sponsored Links
    #2  
Old 10-06-2008
Ygor's Avatar
Ygor Ygor is offline Forum Advisor  
Advisor
 
Join Date: Oct 2003
Last Activity: 2 May 2014, 7:14 AM EDT
Location: 54.23, -4.53
Posts: 1,801
Thanks: 1
Thanked 111 Times in 98 Posts
Perhaps try sdiff
Sponsored Links
    #3  
Old 10-06-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
 
Join Date: Mar 2008
Last Activity: 28 March 2011, 6:41 AM EDT
Location: /there/is/only/bin/sh
Posts: 3,653
Thanks: 0
Thanked 10 Times in 8 Posts
Comparing and Merging Files
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
serach diff filename in diff location using shell scripting Lucky123 Shell Programming and Scripting 1 11-25-2011 02:44 AM
.procmailrc and uudeview (put attachments from diff senders to diff folders) optik77 Shell Programming and Scripting 1 03-27-2011 06:57 AM
i need diff understanding :) taiL Shell Programming and Scripting 5 10-01-2009 07:15 AM
Understanding File System sbn HP-UX 2 06-02-2008 10:10 AM
diff 2 files; output diff's to 3rd file blt123 Shell Programming and Scripting 2 05-28-2002 11:29 AM



All times are GMT -4. The time now is 12:36 AM.