Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Node:Output Formats, Next:, Previous:Comparison, Up:Top

diff Output Formats

diff has several mutually exclusive options for output format. The following sections describe each format, illustrating how diff reports the differences between two sample input files.

  • Sample diff Input: Sample diff input files for examples.
  • Normal: Showing differences without surrounding text.
  • Context: Showing differences with the surrounding text.
  • Side by Side: Showing differences in two columns.
  • Scripts: Generating scripts for other programs.
  • If-then-else: Merging files with if-then-else.

 
 
  Published under the terms of the GNU General Public License Design by Interspire