home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: diff Chapter 2
UNIX Commands
Next: Reference: diffmk
 

diff3



diff3

 [

options

] 

file1

 

file2 file3

Compare three files and report the differences with the following codes:

====

All three files differ.

====1

file1 is different.

====2

file2 is different.

====3

file3 is different.

Options

-e

Create an ed script to incorporate into file1 all differences between file2 and file3 .

-E

Same as -e , but mark with angle brackets any lines that differ between all three files.

-x

Create an ed script to incorporate into file1 all differences between all three files.

-X

Same as -x , but mark with angle brackets any lines that differ between all three files.

-3

Create an ed script to incorporate into file1 differences between file1 and file3 .


Previous: Reference: diff UNIX in a Nutshell: System V Edition Next: Reference: diffmk
Reference: diff Book Index Reference: diffmk

The UNIX CD Bookshelf Navigation The UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System