


      CCCCDDDDCCCC((((1111))))                      ((((UUUUNNNNIIIIXXXX 5555....0000))))                     CCCCDDDDCCCC((((1111))))



      NNNNAAAAMMMMEEEE
           cdc - change the delta commentary of an SCCS delta

      SSSSYYYYNNNNTTTTAAAAXXXX
           ccccddddcccc ----rrrrSID [----mmmm[mrlist]] [----yyyy[comment]] files

      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
           _C_d_c changes the _d_e_l_t_a _c_o_m_m_e_n_t_a_r_y, for the _S_I_D specified by
           the ----rrrr keyletter, of each named SCCS file.

           _D_e_l_t_a _c_o_m_m_e_n_t_a_r_y is defined to be the Modification Request
           (MMMMRRRR) and comment information normally specified via the
           _d_e_l_t_a(1) command (----mmmm and ----yyyy keyletters).

           If a directory is named, _c_d_c 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 ssss....) and unreadable files are silently ignored.
           If a name of ---- is given, the standard input is read (see
           _W_A_R_N_I_N_G_S); each line of the standard input is taken to be
           the name of an SCCS file to be processed.

           Arguments to _c_d_c, which may appear in any order, consist of
           _k_e_y_l_e_t_t_e_r arguments, and file names.

           All the described _k_e_y_l_e_t_t_e_r arguments apply independently to
           each named file:

                ----rrrr_S_I_D          Used to specify the _SCCS _I_Dentification
                               (_S_I_D) string of a delta for which the
                               delta commentary is to be changed.

                ----mmmm[_m_r_l_i_s_t]     If the SCCS file has the vvvv flag set (see
                               _a_d_m_i_n(1)) then a list of MMMMRRRR numbers to
                               be added and/or deleted in the delta
                               commentary of the _S_I_D specified by the
                               ----rrrr keyletter _m_a_y be supplied.  A null MMMMRRRR
                               list has no effect.

                               MMMMRRRR entries are added to the list of MMMMRRRRs
                               in the same manner as that of _d_e_l_t_a(1).
                               In order to delete an MMMMRRRR, precede the MMMMRRRR
                               number with the character !!!! (see
                               _E_X_A_M_P_L_E_S).  If the MMMMRRRR to be deleted is
                               currently in the list of MMMMRRRRs, it is
                               removed and changed into a ``comment''
                               line.  A list of all deleted MMMMRRRRs is
                               placed in the comment section of the
                               delta commentary and preceded by a
                               comment line stating that they were
                               deleted.




      Page 1                                                  (9010-E2)






      CCCCDDDDCCCC((((1111))))                      ((((UUUUNNNNIIIIXXXX 5555....0000))))                     CCCCDDDDCCCC((((1111))))



                               If ----mmmm is not used and the standard input
                               is a terminal, the prompt MMMMRRRRssss???? 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 MMMMRRRRssss???? prompt always precedes
                               the ccccoooommmmmmmmeeeennnnttttssss???? prompt (see ----yyyy keyletter).

                               MMMMRRRRs in a list are separated by blanks
                               and/or tab characters.  An unescaped
                               new-line character terminates the MMMMRRRR
                               list.

                               Note that if the vvvv flag has a value (see
                               _a_d_m_i_n(1)), it is taken to be the name of
                               a program (or shell procedure) which
                               validates the correctness of the MMMMRRRR
                               numbers.  If a non-zero exit status is
                               returned from the MMMMRRRR number validation
                               program, _c_d_c terminates and the delta
                               commentary remains unchanged.

                ----yyyy[_c_o_m_m_e_n_t]    Arbitrary text used to replace the
                               _c_o_m_m_e_n_t(s) already existing for the
                               delta specified by the ----rrrr keyletter.
                               The previous comments are kept and
                               preceded by a comment line stating that
                               they were changed.  A null _c_o_m_m_e_n_t has
                               no effect.

                               If ----yyyy is not specified and the standard
                               input is a terminal, the prompt
                               ccccoooommmmmmmmeeeennnnttttssss???? 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 _c_o_m_m_e_n_t text.

                The exact permissions necessary to modify the SCCS file
                are documented in the _S_o_u_r_c_e _C_o_d_e _C_o_n_t_r_o_l _S_y_s_t_e_m _U_s_e_r'_s
                _G_u_i_d_e.  Simply stated, they are either (1) if you made
                the delta, you can change its delta commentary; or (2)
                if you own the file and directory you can modify the
                delta commentary.

      EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
                cdc -r1....6 -m"bl78-12345 !bl77-54321 bl79-00001"
                -ytrouble s....file

           adds bl78-12345 and bl79-00001 to the MMMMRRRR list, removes
           bl77-54321 from the MMMMRRRR list, and adds the comment ttttrrrroooouuuubbbblllleeee to



      Page 2                                                  (9010-E2)






      CCCCDDDDCCCC((((1111))))                      ((((UUUUNNNNIIIIXXXX 5555....0000))))                     CCCCDDDDCCCC((((1111))))



           delta 1....6 of s....file.

                cdc -r1....6 s....file
                MRs? !bl77-54321 bl78-12345 bl79-00001
                comments? trouble

           does the same thing.

      WWWWAAAARRRRNNNNIIIINNNNGGGGSSSS
           If SCCS file names are supplied to the _c_d_c command via the
           standard input (---- on the command line), then the ----mmmm and ----yyyy
           keyletters must also be used.

      FFFFIIIILLLLEEEESSSS
           x-file    (see _d_e_l_t_a(1))
           z-file    (see _d_e_l_t_a(1))

      SSSSEEEEEEEE AAAALLLLSSSSOOOO
           admin(1), delta(1), get(1), help(1), prs(1), sccsfile(4).
           _S_o_u_r_c_e _C_o_d_e _C_o_n_t_r_o_l _S_y_s_t_e_m _U_s_e_r'_s _G_u_i_d_e in _R_O_S _U_t_i_l_i_t_y
           _G_u_i_d_e.

      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
           Use _h_e_l_p(1) for explanations.































      Page 3                                                  (9010-E2)



