Compares two versions of a SCCS file.
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.
| Item | Description |
|---|---|
| -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. |
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
| Item | Description |
|---|---|
| /usr/bin/sccsdiff | Contains the SCCS sccsdiff command. The sccsdiff command supports multibyte character set (MBCS) data for the file names. |