iSnare.com - Free Content Articles Directory
Authors Contents [Advanced Search][Add OpenSearch][Job Search]
Distribute your articles to thousands of article sites for only $2 and below! Read more...

Index  Computers and Technology
 

Understanding The Diff Software

 
[ Contact the Author] [ Send to a Friend] [ Article Publisher] [Make PDF] [ Print] [ Bookmark & Share]
 
Read our Terms of Service before reprinting this article. The submitter specified above has claimed the rights to this article.
Sam Miller

Diff software, also known as a software patch, is a file comparison utility that is used to produce the differences between two distinct files. Basically, it compares an original file to a modified file, and displays a list of changes made to the file. It is usually used to fix bugs or add new features that the initial software or application does not have.

The operation of diff is based on the solution of LCS, or the Longest Common Subsequence. The process of LCS is basically finding the longest subsequence common to all the series in the given set of sequences. A subsequence is defined as a new sequence, which is produced from the initial sequence by removing some elements without disturbing the relative arrangement of the remaining elements.

The development of the diff software started during the early 1970s and the final version was written by Douglas McIlroy. McIlroy’s design of diff was influenced by a comparison program that came out earlier. There were several similarities between the comparison program and the diff software, such as the line-by-line modifications, and the use of angle brackets for line insertions and deletions. However, the method utilized by the earlier comparison program was deemed unreliable. The possible effectiveness of a diff software triggered McIlroy into researching and devising a more efficient tool. He collaborated with several individuals, and the research paper for this venture was published in a 1976 paper co-written by James Hunt, who developed an initial prototype of diff.

In the early years of diff, some features that were commonly used include the comparison of the source of software code and the markup for technical documents, the verification of program debugging output, the comparison of file system listings, and the analysis of computer assembly code.

In the conventional output format, the symbols used are ‘a’ for added,‘d’ for deleted, and ‘c’ for changed. The line numbers of the primary file are shown before the symbols (a, d, c) and those of the revised file are shown after. Angle brackets are situated at the start of the lines that are added, deleted, or changed. Addition lines are inserted in the original file and will appear in the new file. Deletion lines are removed from the original file and will not be seen in the new file. Furthermore, lines that have been inserted will show up as added in their new location, and lines that have been removed will show up as deleted in their old location. By default, lines that are common to both will not appear.

The diff software has remained externally unchanged. The developments to the software include enhancements to the core algorithm, addition of useful features to the command, and the design of new output formats.

If you want a software application that can compare documents and files of MS Word, PowerPoint, Excel, PDF, HTML, RTF, HTM, and TXT documents, then using the diff software can employ the appropriate function. Users can then identify differences in file display and details using the software.

Important NoticeDISCLAIMER: All information, content, and data in this article are sole opinions and/or findings of the individual user or organization that registered and submitted this article at Isnare.com without any fee. The article is strictly for educational or entertainment purposes only and should not be used in any way, implemented or applied without consultation from a professional. We at Isnare.com do not, in anyway, contribute or include our own findings, facts and opinions in any articles presented in this site. Publishing this article does not constitute Isnare.com's support or sponsorship for this article. Isnare.com is an article publishing service. Please read our Terms of Service for more information.

If you are interested in diff software, check this web-site to learn more about diff programs.

Article Tags: diff [See Dictionary], file [See Dictionary], lines [See Dictionary]
Got a question about this article? Ask the community!
Article published on May 04, 2008 at Isnare.com
 
Rate this article:

Top Issues in Programmer Productivity
Submitted by: Sam Miller

A software program is something that anyone can be trained to use Pretty easy if one will think about it...

Software Interface Testing and Other Types of Software Testing
Submitted by: Sam Miller

Software interface testing is just one among the many types of software testing that are used by software engineers for software development...

System Testing Approach: Black Box Testing
Submitted by: Sam Miller

Almost every aspect/phase of the Software Development and Testing life cycle finds application of Black box testing...

Test Automation: A Formalized Testing Process
Submitted by: Sam Miller

Test Automation is basically using soft wares to control the execution of tests (test cases describe the tests that need to be run on the program to verify that the program runs as expected) and comparing the actual output to the predicted one...

Why There’s A Need To Convert PDF To Doc
Submitted by: Sam Miller

The PDF file, or the Portable Document Format file, has been popularized by Adobe Systems for faster document exchange...

The Imminent Relevance Of Version Control Subversion
Submitted by: Sam Miller

The business of article marketing requires a vast number of web content writers furnishing as many articles as possible in a single workday...

How To Delete Thee Recent Documents List
Submitted by: Sam Miller

Your computer keeps track of the documents, files, and even the applications that you have been opening...

The Need For A Data Recovery File Search
Submitted by: Sam Miller

To recover computer files deleted from the Windows Recycle Bin or those that were lost because a hard drive became corrupted, a data recovery file search solution is necessary...

How To Delete Recent Documents In Word Format Effectively
Submitted by: Sam Miller

It is not out of the ordinary for any computer user to delete recent documents in word format This is because you will surely accumulate a lot of files over time, and there will definitely be files you no longer need to retain in your system...

Reasons To Evaluate File Search Software
Submitted by: Sam Miller

There is a need to evaluate file search software available from online vendors to ensure that the purchased file search utility addresses the needs of a user...

The Rundown On HTML Version Control
Submitted by: Sam Miller

It is a must for any businessman to be familiar with html version control software This is because this piece of software is very useful, especially when your business deals with repetitive tasks and systematic testing day in and day out...

The Necessity Of A Text File Compare Program
Submitted by: Sam Miller

More and more people are beginning to understand the importance of text file compare software programs...

The Relevance Of Text Search Utility Programs
Submitted by: Sam Miller

Do you know how daunting it can be searching through many files of different text formats when the files themselves contain almost similar filenames...

The Importance Of Clearing Windows Recent Files
Submitted by: Sam Miller

Windows recent files can be found as you click on the Start Menu and selectively click the recent document section...

Wipe Disk To Rid Off Hard Drive Data
Submitted by: Sam Miller

As people become more technologically-savvy, the more imperative it is for both individuals and business organizations to take data security measures more seriously...

Sony Ericsson W595 Mobile Phone Review - The Latest and Best Walkman Phone?
Submitted by: Carlson Osbourne

The one thing that most Sony Ericsson phones have in abundance is good looks No matter what lies beneath the surface, they all tend to have unique and beautiful appearances that can enhance the style factor of everyone using them...

Sony Ericsson W705 Mobile Phone Review - Tune Into the Beat With the Ultimate Walkman Phone
Submitted by: Carlson Osbourne

Sony Ericsson is known the world over for their amazingly functional and stylish mobile phones It is easy to see why when you take a look at some of the handsets that they have produced over the years and one of their latest additions to the Walkman range can be added to that illustrious list...

Notebook - Smart Shopping Tips
Submitted by: Roberto Sedycias

There are many choices of notebooks and sometimes it is hard to find the appropriate notebook that represents the true value for money...

The Many Applications of GPS Cell Phone
Submitted by: Roberto Sedycias

GPS is known to navigate global positioning easily and is widely used in vehicle tracking and map navigation, benefiting people in their daily needs...

Things To Know About Formatting Your Memory Card
Submitted by: Lance Edwards

If you use a new memory card on your digital camera for the first time you should always format it, or it may not store your photos correctly...

Choosing a Scanner
Submitted by: Lorraine Vybihal

When choosing a scanner for your business, there are many things you need to consider You need a scanner that is fast, reliable, and that will increase your overall productivity...

Linux Vs Windows - Which One to Pick?
Submitted by: Roberto Sedycias

Choosing the appropriate operating system is based on the server`s function Linux is powerful and has a versatile operating system while Windows is well-known for its easy to use operating system and versatility...

Nintendo Wii Vs Playstation 3 - A Genuine Combat
Submitted by: Roberto Sedycias

Nintendo Wii and Playstation 3 are the top-notch gaming consoles commanding the market However, knowing the difference of Nintendo Wii Vs Playstation 3 gives clarity about each gaming console and its features...

Canadian Address Database Helps Immigrants Better Adapt to the Country
Submitted by: Adrianna Noton

An address database can be a godsend to persons who are new to a country This is especially true for Canada where immigration is an important part of the country’s development...

Reverse Cell Phone Lookup - Did You See a Number on Your Spouse's Cell You Did Not Recognize?
Submitted by: J Williams-Foster

Reverse cell phone lookup services can provide information about phone number owners for a myriad of reasons, one reason that's not always considered is in the area of love...

How to Dispose of a Multifunction Printer
Submitted by: Derek Rogers

As with most electrical equipment, your printer is full of plastics, components and potentially hazardous materials...

The Time For Buying a GPS System is Now
Submitted by: Jerbob Johnsen

Whether you are trying to decide on an auto GPS systems to window shop or purchase GPS autos system, you have definitely now have many choices compared to a few years ago...

Top 5 Camcorders - Which One to Pick?
Submitted by: Roberto Sedycias

Purchasing camcorders leads the buyer to view a wide range of choices; however, looking for the appropriate choice depends on the need of the buyer and budget...

Camcorder Recording Methods and Technology
Submitted by: Allen Roberts

Over the years, camcorders have evolved from tape (which has spanned many decades), to DVD, and more recently to Harddrives(HDD) and Flash Memory...

Valuing Your Entertainment With the LED LCD TV
Submitted by: RahXephon NeO

If you are looking into the latest technology for entertainment, then considering a LED LCD TV may be the best alternative...

Isnare.com Footer Divider

© 2004-2009. Isnare Free Articles - An Isnare Online Technologies Free Articles Project. All Rights Reserved.   Privacy Policy