http://invisible-island.net/ded/sccs_tools/


sccsget(man)


NAME

       sccsget - SCCS check-out script


USAGE

       sccsget [options] [file-specifications]


SYNOPSIS

       Sccsget  is  a  simple  interface to sccs (source code control system),
       which is used to extract files from sccs archives.


DESCRIPTION

       Sccsget checks out (extracts) files from an  sccs  archive  which  have
       been  checked  in  using  sccsput.   Sccsput checks in files, retaining
       their modification date as the check-in date.  Sccsget extracts a given
       version of one or more files, and sets their modification date to match
       the check-in date.


OPTIONS

       Sccsget is a directory-recursive  interface  to  the  getdelta  utility
       (which invokes sccs's get) which does special things with the file mod-
       ification date.  Most of its options are passed to get, and then inter-
       preted to determine the correct modification date:

       -ccutoff
              specifies the sccs cutoff date, in the format

            YY[MM[DD[HH[MM[SS]]]]]

              Punctuation in the date is permitted.  For example,

                   -c 77/2/2 9:22:25
                   -c 770202092225

              represent the same date.

       -f     forces  sccsget to remove the current version of the file before
              extracting  the  specified  version.   Otherwise,  sccsget  will
              refuse to overwrite a file which already exists.

       -k     directs  get  to extract the specified file without substituting
              sccs identification keywords.  You should use this option if you
              intend to make updates to the file.

       -n     suppresses  the  get-operation.  Instead, sccsget echoes an "ok"
              message for files which would be extracted.

       -rSID  specifies the sccs identification string (SID) of the version of
              an sccs file to be retrieved.

       -s     suppresses most messages written by the get utility (i.e., those
              written to standard output).


OPERATIONS

       To extract files using sccsget, you must provide  one  or  more  names.
       They may be either file or directory names.

       Sccsget  resolves  names until it finds one of the form "sccs/s.  file"
       before invoking get.  If it finds a directory (other than "SCCS"), scc-
       sget will recur on itself to extract files at lower levels.


ENVIRONMENT

       Sccsget  is  a  Bourne shell script.  On Apollo DOMAIN/IX, it uses Sys-
       tem 5 features, including getopt (1).  Environment  variables  used  by
       sccsget include:

       SCCS_DIR
              specifies  the  directory  in  which getdelta will find the "s."
              files.  If not specified, getdelta assumes "SCCS".


FILES

       Sccsget uses the following files:

       sccsget
              the Bourne shell script

       getdelta
              a utility which invokes get, and then modifies the file's  modi-
              fication  date  after  check-out so that the file's modification
              date matches the version-date selected with  the  "-c"  or  "-r"
              option.


ANTICIPATED CHANGES

       None.


SEE ALSO

       getdelta, sccsput, ded, get (1)


AUTHOR

       Thomas Dickey (Software Productivity Consortium).

                                                                    SCCSGET(1)