Removes a delta from a SCCS file.
rmdel -r SID File ...
The rmdel command removes the delta specified by the SID variable from each Source Code Control System (SCCS) file indicated in the File parameter. You can remove only the most recently created delta in a branch, or the latest trunk delta if it has no branches. In addition, the SID you specify must not be a version currently being edited for the purpose of making a delta. To remove a delta, you must either own the SCCS file and the directory, or you must have created the delta you want to remove.
If you specify a directory for the File parameter, the rmdel command performs the requested actions on all SCCS files (those with the s. prefix). If you specify a - (dash) for the File parameter, the rmdel command reads standard input and interprets each line as the name of an SCCS file. The rmdel command continues to read input until it reaches an end-of-file character.
After a delta has been removed, it is not included in any g-file created by the get command. However, the delta table entry remains in the s. file with an R by the entry to show that the delta has been removed.
-r SID | Removes the specified delta SID from the SCCS file. This flag is required. |
This command returns the following exit values:
0 | Successful completion. |
>0 | An error occurred. |
To remove delta 1.3 from the s.test.c SCCS file, enter:
rmdel -r 1.3 s.test.c
/usr/bin/rmdel | Contains the rmdel command. |
s.files | Files processed by the rmdel command. |
The delta command, get command, prs command.
The sccsfile file format.
Source Code Control System (SCCS) Overview in AIX General Programming Concepts: Writing and Debugging Programs.
List of SCCS Commands in AIX General Programming Concepts: Writing and Debugging Programs.