Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
DIFF.1
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 2k
Category:
OS Develop
Development Platform:
WINDOWS
- .TH DIFF 1
- .SH NAME
- diff - print differences between two files
- .SH SYNOPSIS
- fBdiff fR [fB-c fR|fB -e fR|fB -C fInfR] [fB-brfR]fIfile1 file2fRfR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH OPTIONS
- .FL "-C fIn" "Produce output that contains fInfR lines of context"
- .FL "-b" "Ignore white space when comparing"
- .FL "-c" "Produce output that contains three lines of context"
- .FL "-e" "Produce an fIedfR-script to convert fIfile1fR into fIfile2fR"
- .FL "-r" "Apply fIdifffR recursively to files and directories of
- .SH EXAMPLES
- .EX "diff file1 file2" "Print differences between 2 files"
- .EX "diff -C 0 file1 file2" "Same as above"
- .EX "diff -C 3 file1 file2" "Output three lines of context with every
- .EX "diff -c file1 file2" Same as above"
- .EX "diff /etc /dev" "Compares recursively the directories fI/etcfR and fI/devfR"
- .EX "diff passwd /etc" "Compares fI./passwdfR to fI/etc/passwd"
- .SH DESCRIPTION
- the same name, when fIfile1fR and fIfile2fR are both directories"
- difference encountered"
- .PP
- fIDifffR compares two files and generates a list of lines telling how
- the two files differ. Lines may not be longer than 128 characters.
- If the two arguments on the command line are both directories,
- fIdifffR recursively steps through all subdirectories comparing
- files of the same name. If a file name is found only in one directory,
- a diagnostic message is written to fIstdoutfR. A file that is of
- either block special, character special or FIFO special type, cannot
- be compared to any other file.
- On the other hand, if there is one directory and one file given on the
- command line, fIdifffR tries to compare the file with the same name
- as fIfilefR in the directory fIdirectoryfR.
- .SH "SEE ALSO"
- .BR cdiff (1),
- .BR cmp (1),
- .BR comm (1),
- .BR patch (1).