[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 5

sccsdiff Command

Purpose

Compares two versions of a SCCS file.

Syntax

sccsdiff -rSID1 -rSID2-p ] [ -sNumber ] File ...

Description

The sccsdiff command reads two versions of an Source Code Control System ( SCCS) file, compares them, and then writes to standard output the differences between the two versions. Any number of SCCS files can be specified, but the same arguments apply to all files.

Flags

-p Pipes the output through the pr command.
-rSID1 Specifies SID1 as one delta of the SCCS file for the sccsdiff command to compare.
-rSID2 Specifies SID2 as the other delta of the SCCS file for the sccsdiff command to compare.
-sNumber Specifies the file-segment size for the bdiff command to pass to the diff command. This is useful when the diff command fails due to a high system load.

Examples

To display the difference between versions 1.1 and 1.2 of SCCS file s.test.c, enter:

sccsdiff -r1.1 -r1.2 s.test.c

Files

/usr/bin/sccsdiff Contains the SCCS sccsdiff command. The sccsdiff command supports multibyte character set (MBCS) data for the file names.

Related Information

The bdiff command, diff command, get command, prs command, sccshelp command.

The sccsfile file format.

List of SCCS Commands, Source Code Control System (SCCS) Overview in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.


[ Previous | Next | Contents | Glossary | Home | Search ]