date and time created 83/02/24 12:56:06 by mckusick
[unix-history] / usr / src / usr.bin / sccs / sccs.1
index f6a1c9e..18d37c9 100644 (file)
@@ -78,6 +78,18 @@ as described above,
 and all the flags listed for ``get''
 above except \-e and \-k
 are passed to ``edit''.
 and all the flags listed for ``get''
 above except \-e and \-k
 are passed to ``edit''.
+.IP create
+Creates an
+.SM SCCS
+file,
+taking the initial contents from the file of the same name.
+Any flags to ``admin'' are accepted.
+If the creation is successful,
+the files are renamed with a comma on the front.
+These should be removed when you are convinced that
+the
+.SM SCCS
+files have been created successfully.
 .IP fix
 Must be followed by a
 .B \-r
 .IP fix
 Must be followed by a
 .B \-r
@@ -171,6 +183,9 @@ flag is passed to
 .I diff
 as
 .B \-c.
 .I diff
 as
 .B \-c.
+.IP print
+This command prints out verbose information
+about the named files.
 .PP
 The
 .B \-r
 .PP
 The
 .B \-r
@@ -205,13 +220,25 @@ and the
 argument is inserted before the final component of the
 pathname.
 For example,
 argument is inserted before the final component of the
 pathname.
 For example,
-``sccs -d/x -py get a/b''
+``sccs \-d/x \-py get a/b''
 will convert to
 ``get /x/a/y/s.b''.
 The intent here is to create aliases such as
 ``alias syssccs sccs -d/usr/src''
 which will be used as
 ``syssccs get cmd/who.c''.
 will convert to
 ``get /x/a/y/s.b''.
 The intent here is to create aliases such as
 ``alias syssccs sccs -d/usr/src''
 which will be used as
 ``syssccs get cmd/who.c''.
+Also, if the environment variable
+PROJECT
+is set,
+its value is used to determine the
+.B \-d flag.
+If it begins with a slash,
+it is taken directly;
+otherwise,
+the home directory of a user of that name
+is examined for a subdirectory ``src'' or ``source''.
+If such a directory is found,
+it is used.
 .PP
 Certain commands (such as
 .IR admin )
 .PP
 Certain commands (such as
 .IR admin )