Unix/Linux Go Back    


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

Understanding a diff file

Linux


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 10-05-2008
frozensmilz's Unix or Linux Image
frozensmilz frozensmilz is offline
Registered User
 
Join Date: Aug 2008
Last Activity: 22 March 2015, 10:57 AM EDT
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. Linux
Sponsored Links
    #2  
Old Unix and Linux 10-06-2008
Ygor's Unix or Linux Image
Ygor Ygor is offline Forum Advisor  
Advisor
 
Join Date: Oct 2003
Last Activity: 15 May 2015, 11:55 AM EDT
Location: 54.23, -4.53
Posts: 1,801
Thanks: 1
Thanked 112 Times in 98 Posts
Perhaps try sdiff
Sponsored Links
    #3  
Old Unix and Linux 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 Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 06:15 PM.