DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Tracking versions with SCCS

Retrieving a file with get

The command

   $ get s.lang
retrieves the latest version of s.lang and prints
   1.1
   5 lines
This tells you that get retrieved version 1.1 of the file, which is made up of five lines of text.

The retrieved text is placed in a new file called lang. That is, if you list the contents of your directory, you will see both lang and s.lang.

The get s.lang command creates lang, a file meant for viewing (read-only), not for making changes to. If you want to make changes to it, the -e (edit) option must be used. This is done as follows:

   $ get -e s.lang

get -e causes SCCS to create lang for both reading and writing (editing). It also places certain information about lang in another new file, called p.lang, which is needed later by the delta command. Now if you list the contents of your directory, you will see s.lang, lang, and p.lang.

get -e prints the same messages as get, except that the SID for the first delta you will create also is issued:

   1.1
   new delta 1.2
   5 lines

Change lang by adding two more programming languages:

   SNOBOL
   ADA

Next topic: Recording changes with delta
Previous topic: Creating an SCCS file with admin

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004