7.3. Using diff Utility
The diff utility is another useful tool that developers may need. It is used to find out the differences between two files. If you are using CVS, differences between different versions of a file in the CVS repository can be found using the cvs (cvs diff) command as well. However, if you want to find out the difference between two files that are not in the CVS repository, the diff utility may be quite handy. One common use may be to find out the difference between the working copy and the backup copy of a source code file. This will enable you to find out what changes have been made in the working copy of the file. The output of the diff utility follows similar rules to those used in the CVS diff command. The following ...
Get Linux Development Platform: Configuring, Using, and Maintaining a Complete Programming Environment, The now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.