


      PPPPRRRRSSSS((((1111))))                      ((((UUUUNNNNIIIIXXXX 5555....0000))))                     PPPPRRRRSSSS((((1111))))



      NNNNAAAAMMMMEEEE
           prs - print an SCCS file

      SSSSYYYYNNNNTTTTAAAAXXXX
           pppprrrrssss [----dddd[dataspec]] [----rrrr[SID]] [----eeee] [----llll] [----aaaa] files

      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
           _P_r_s prints, on the standard output, parts or all of an SCCS
           file (see _s_c_c_s_f_i_l_e(4)) in a user supplied format.  If a
           directory is named, _p_r_s 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; each line of
           the standard input is taken to be the name of an SCCS file
           or directory to be processed; non-SCCS files and unreadable
           files are silently ignored.

           Arguments to _p_r_s, 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:

                ----dddd[_d_a_t_a_s_p_e_c]   Used to specify the output data
                               specification.  The _d_a_t_a_s_p_e_c is a string
                               consisting of SCCS file _d_a_t_a _k_e_y_w_o_r_d_s
                               (see _D_A_T_A _K_E_Y_W_O_R_D_S) interspersed with
                               optional user supplied text.

                ----rrrr[_S_I_D]        Used to specify the _SCCS _I_Dentification
                               (SID) string of a delta for which
                               information is desired.  If no SID is
                               specified, the SID of the most recently
                               created delta is assumed.

                ----eeee             Requests information for all deltas
                               created _e_a_r_l_i_e_r than and including the
                               delta designated via the ----rrrr keyletter.

                ----llll             Requests information for all deltas
                               created _l_a_t_e_r than and including the
                               delta designated via the ----rrrr keyletter.

                ----aaaa             Requests printing of information for
                               both removed, i.e., delta type = _R, (see
                               _r_m_d_e_l(1)) and existing, i.e., delta type
                               = _D, deltas.  If the ----aaaa keyletter is not
                               specified, information for existing
                               deltas only is provided.

      DDDDAAAATTTTAAAA KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS



      PPPPaaaaggggeeee 1111                                                   ((((9999000011110000----EEEE))))






      PPPPRRRRSSSS((((1111))))                      ((((UUUUNNNNIIIIXXXX 5555....0000))))                     PPPPRRRRSSSS((((1111))))



           Data keywords specify which parts of an SCCS file are to be
           retrieved and output.  All parts of an SCCS file (see
           _s_c_c_s_f_i_l_e(4)) have an associated data keyword.  There is no
           limit on the number of times a data keyword may appear in a
           _d_a_t_a_s_p_e_c.

           The information printed by _p_r_s consists of:  (1) the user
           supplied text; and (2) appropriate values (extracted from
           the SCCS file) substituted for  the  recognized data
           keywords in the order of appearance in the _d_a_t_a_s_p_e_c.  The
           format of a data keyword value is either _S_i_m_p_l_e (S), in
           which keyword substitution is direct, or _M_u_l_t_i-_l_i_n_e (M), in
           which keyword substitution is followed by a carriage return.

           User-supplied text is any text other than recognized data
           keywords.  A tab is specified by \\\\tttt and carriage
           return/new-line is specified by \\\\nnnn.






































      Page 2                                                   (9010-E)






      PPPPRRRRSSSS((((1111))))                      ((((UUUUNNNNIIIIXXXX 5555....0000))))                     PPPPRRRRSSSS((((1111))))



                             TABLE 1. SCCS Files Data Keywords
      _K_e_y_w_o_r_d_D_a_t_a _I_t_e_m                            _F_i_l_e _S_e_c_t_i_o_n      _V_a_l_u_e      _F_o_r_m_a_t
       ::::Dt::::  Delta information                    Delta Table    See below*      S
       ::::DL::::                                            "       ::::Li::::/::::Ld::::/::::Lu::::    S
7             Delta line statistics
       ::::Li::::                                            "            nnnnn        S
7             Lines inserted by Delta
       ::::Ld::::                                            "            nnnnn        S
7             Lines deleted by Delta
       ::::Lu::::                                            "            nnnnn        S
7             Lines unchanged by Delta
       ::::DT::::  Delta type                                "           _D or _R        S
        ::::I::::                                            "       ::::R::::....::::L::::....::::B::::....::::S::::   S
7             SCCS ID string (SID)
        ::::R::::  Release number                            "            nnnn         S
        ::::L::::  Level number                              "            nnnn         S
        ::::B::::  Branch number                             "            nnnn         S
        ::::S::::  Sequence number                           "            nnnn         S
        ::::D::::                                            "       ::::Dy::::/::::Dm::::/::::Dd::::    S
7             Date Delta created
       ::::Dy::::                                            "             nn          S
7             Year Delta created
       ::::Dm::::                                            "             nn          S
7             Month Delta created
       ::::Dd::::                                            "             nn          S
7             Day Delta created
        ::::T::::                                            "       ::::Th:::::::::Tm:::::::::Ts::::    S
7             Time Delta created
       ::::Th::::                                            "             nn          S
7             Hour Delta created
       ::::Tm::::                                            "             nn          S
7             Minutes Delta created
       ::::Ts::::                                            "             nn          S
7             Seconds Delta created
        ::::P::::                                            "           logname       S
7             Programmer who created Delta
       ::::DS::::                                            "            nnnn         S
7             Delta sequence number
       ::::DP::::                                            "            nnnn         S
7             Predecessor Delta seq-no.
       ::::DI::::                                            "       ::::Dn::::/::::Dx::::/::::Dg::::    S
7             Seq-no. of deltas incl., excl.,
             ignored
       ::::Dn::::  Deltas included (seq #)                   "        ::::DS:::: ::::DS::::............     S
       ::::Dx::::  Deltas excluded (seq #)                   "        ::::DS:::: ::::DS::::............     S
       ::::Dg::::  Deltas ignored (seq #)                    "        ::::DS:::: ::::DS::::............     S
       ::::MR::::  MR numbers for delta                      "            text         M
        ::::C::::  Comments for delta                        "            text         M
       ::::UN::::  User names                            User Names       text         M
       ::::FL::::  Flag list                               Flags          text         M
        ::::Y::::  Module type flag                          "            text         S
       ::::MF::::                                            "          _y_e_s or _n_o      S
7             MR validation flag
       ::::MP::::                                            "            text         S
7             MR validation pgm name
       ::::KF::::                                            "          _y_e_s or _n_o      S
7             Keyword error/warning flag
       ::::BF::::  Branch flag                               "          _y_e_s or _n_o      S
        ::::J::::  Joint edit flag                           "          _y_e_s or _n_o      S
       ::::LK::::  Locked releases                           "           ::::R::::............        S
        ::::Q::::  User-defined keyword                      "            text         S
        ::::M::::  Module name                               "            text         S
       ::::FB::::  Floor boundary                            "             ::::R::::         S
       ::::CB::::  Ceiling boundary                          "             ::::R::::         S
       ::::Ds::::  Default SID                               "             ::::I::::         S
       ::::ND::::  Null delta flag                           "          _y_e_s or _n_o      S
       ::::FD::::                                         Comments        text         M
7             File descriptive text
       ::::BD::::  Body                                     Body          text         M
       ::::GB::::  Gotten body                               "            text         M
        ::::W::::                                           N/A        ::::Z::::::::M::::\t::::I::::     S
7             A form of _w_h_a_t(1) string
        ::::A::::                                           N/A     ::::Z::::::::Y:::: ::::M:::: ::::I::::::::Z::::  S
7             A form of _w_h_a_t(1) string




      Page 3                                                   (9010-E)






      PPPPRRRRSSSS((((1111))))                      ((((UUUUNNNNIIIIXXXX 5555....0000))))                     PPPPRRRRSSSS((((1111))))



        ::::Z::::                                           N/A           @(#)         S
7             _w_h_a_t(1) string delimiter
        ::::F::::  SCCS file name                           N/A           text         S
       ::::PN::::  SCCS file path name                      N/A           text         S
9             * ::::Dt:::: = ::::DT:::: ::::I:::: ::::D:::: ::::T:::: ::::P:::: ::::DS:::: ::::D
         ::::














































9


      Page 4                                                   (9010-E)






      PPPPRRRRSSSS((((1111))))                      ((((UUUUNNNNIIIIXXXX 5555....0000))))                     PPPPRRRRSSSS((((1111))))



      EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
                prs -d"Users and/or user IDs for ::::F:::: are::::\n::::UN::::" s....file

           may produce on the standard output:

                Users and/or user IDs for s....file are::::
                xyz
                131
                abc

                prs -d"Newest delta for pgm ::::M:::::::: ::::I:::: Created ::::D:::: By
                ::::P::::" -r s....file

           may produce on the standard output:

                Newest delta for pgm main....c:::: 3....7 Created 77/12/1 By cas

           As a _s_p_e_c_i_a_l _c_a_s_e:

                prs s....file

           may produce on the standard output:

                D 1....1 77/12/1 00::::00::::00 cas 1 000000/00000/00000
                MRs::::
                bl78-12345
                bl79-54321
                COMMENTS::::
                this is the comment line for s....file initial delta

           for each delta table entry of the ``D'' type.  The only
           keyletter argument allowed to be used with the _s_p_e_c_i_a_l _c_a_s_e
           is the ----aaaa keyletter.

      FFFFIIIILLLLEEEESSSS
           /tmp/pr?????

      SSSSEEEEEEEE AAAALLLLSSSSOOOO
           admin(1), delta(1), get(1), help(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 the _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 5                                                   (9010-E)



