|
|
cdc -r SID [-m[mrlist]] [-y[comment]] file . . .
The delta comment is the Modification Request (MR) and comment information normally specified via the -m and -y keyletters of the delta command.
If file is a directory, cdc behaves as though each file in the directory were specified as a named file, except that non-SCCS files (last component of the path name does not begin with s.) and unreadable files are silently ignored. If a name of - is given, the standard input is read (see the ``Notices'' section) and each line of the standard input is taken to be the name of an SCCS file to be processed.
Arguments to cdc, which may appear in any order, consist of keyletter arguments and file names.
All the described keyletter arguments apply independently to each named file:
mrlist entries are added to the list of MRs in the same manner as that of delta. In order to delete an MR, precede the MR number with the character ``!'' (see the ``Examples'' section). If the MR to be deleted is currently in the list of MRs, it is removed and changed into a comment line. A list of all deleted MRs is placed in the comment section of the delta comment and preceded by a comment line stating that they were deleted.
If
-m
is not used and the standard input is a terminal, the prompt
MRs?
is issued on the standard output before the standard input
is read; if the standard input is not a terminal, no prompt is issued.
The MRs?
prompt always precedes the comments?
prompt
(see
-y
keyletter).
mrlist entries in a list are separated by blanks and/or tab characters. An unescaped new-line character terminates the MR list.
Note that if the v flag has a value (see admin(1)), it is taken to be the name of a program (or shell procedure) that validates the correctness of the MR numbers. If a non-zero exit status is returned from the MR number validation program, cdc terminates and the delta comment remains unchanged.
If
-y
is not specified and the standard input is a terminal, the
prompt comments?
is issued on the standard output before
the standard input is read;
if the standard input is not a terminal, no prompt is issued.
An unescaped new-line character terminates the comment text.
If you made the delta and have the appropriate file permissions, you can change its delta comment. If you own the file and directory you can modify the delta comment.
The following produces the same result:
cdc -r1.6 s.file MRs? !bl87-54321 bl88-12345 bl89-00001 comments? trouble