X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/28ad8b5d8db13e16527a1ce279a95bcc7d7d5747..804c14e913c76dcf816842ffe02c426c5f04728c:/usr/src/usr.bin/sccs/sccs.1 diff --git a/usr/src/usr.bin/sccs/sccs.1 b/usr/src/usr.bin/sccs/sccs.1 index 13ff1a6193..18d37c982a 100644 --- a/usr/src/usr.bin/sccs/sccs.1 +++ b/usr/src/usr.bin/sccs/sccs.1 @@ -78,6 +78,18 @@ as described above, 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 @@ -112,6 +124,13 @@ flag is given, branches (i.e., \s-1SID\s0's with two or fewer components) are ignored. +If the +.B \-u +flag is given +(with an optional argument) +then only files being edited by you +(or the named user) +are listed. .IP check Like ``info'' except that nothing is printed if nothing is being edited, @@ -129,7 +148,9 @@ of the files being edited on the standard output. Takes the .B \-b -flag like +and +.B \-u +flags like ``info'' and ``check''. .IP diffs Gives a ``diff'' listing between the current version of the @@ -137,8 +158,34 @@ program(s) you have out for editing and the versions in .SM SCCS format. -The arguments look exactly like the arguments to a get, -which specify the version to diff against. +The +.B \-r, +.B \-c, +.B \-i, +.B \-x, +and +.B \-t +flags are passed to +.I get\c +; the +.B \-l, +.B \-s, +.B \-e, +.B \-f, +.B \-h, +and +.B \-b +options are passed to +.I diff. +The +.B \-C +flag is passed to +.I diff +as +.B \-c. +.IP print +This command prints out verbose information +about the named files. .PP The .B \-r @@ -173,13 +220,25 @@ and the 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''. +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 ) @@ -217,6 +276,14 @@ in the current directory: .BX sccs delta *.c .EX +To get a list of files being edited that are not on branches: +.BX +sccs info \-b +.EX +To delta everything being edited by you: +.BX +sccs delta \`sccs tell \-u\` +.EX In a makefile, to get source files from an .SM SCCS