Man page of cdc
Section: User Commands (1)
Return to Main Contents
cdc - Changes the comments in a Source Code Control System (SCCS) delta
cdc -rSID [-m] [MRlist] [-y] [comment] file...
cdc -rSID -mMRlist -ycomment -
command changes the Modification Requests
(MRs) and comments for the SID specified by the
for each named Source Code Control System (SCCS) file.
Supplies a list of MR numbers for
add or delete in the SID specified by the
can use this option only if the file has the
set (see the
command). A null MR list has no effect.
MRlist, MRs are separated by spaces, tab
characters, or both. To delete an MR, precede the MR number with an ! (exclamation
point). If the MR you want to delete is currently in the list of MRs, it is
changed into a comment line. The
command places a
list of all deleted MRs in the comment section of the delta and precedes them
with a comment line, indicating that the following MRs were deleted.
If you do not specify the
option, and the
header flag is set, MRs are read from standard input. If standard
input is a terminal, the
command prompts you for the
MRs. The first newline character not preceded by a \ (backslash) ends the
list on the command line. The
command continues to
take input until it reads an End-of-File character or a blank line. MRs are
always read before comments (see the
option). If the
flag has a value,
interprets the value
as the name of a program that validates the MR numbers. If the MR number
validation program returns a nonzero exit value, the
command stops and does not change the MRs.
Specifies the SCCS identification number of the delta for
will change the comments or MRs.
Specifies text to replace any comment already existing for
the delta specified by the
command keeps the existing comments and precedes them by a comment line, stating
that they were changed. A null
If you do not specify
command reads comments from standard input until it reads an End-of-File character.
If the standard input is a terminal, the
for the comments and also allows a blank line to end input. If the last character
of a line is a \ (backslash), the
command ignores it
and continues to read standard input.
reads standard input for file names (that
is, when you specify a file name of
(dash)), you must
If you specify a directory name,
performs the requested actions on all SCCS files in that directory
(that is, all files with names that have the
If you specify a
(dash) in place of
reads standard input and interprets
each line as the name of an SCCS file. For more information on SCCS, see the
Programming Support Tools.
You can change the comments and MRs for an SID only if you made the
SID or you own the file and the directory. For more information on the permissions
needed to change SCCS files, see the
For information about exit values, see the
To change the comment for SID 1.3 of SCCS file
new comment, enter:
cdc -r1.3 -y"new comment" s.test.c
Programming Support Tools
- EXIT STATUS
- SEE ALSO
This document was created by
using the manual pages.
Time: 02:42:49 GMT, October 02, 2010