UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: 18.6 Alphabetical Summary of SCCS CommandsChapter 18
The Source Code Control System
Next: Reference: cdc
 

admin

admin [options] files

Add files to SCCS or change options of SCCS files.

Options

-a[user | groupid]

Assign user or groupid permission to make deltas; a ! before user or groupid denies permission. If no list is given, anyone has permission.

-b

Encode the file contents as binary data. Files that contain ASCII NUL or other control characters, or that do not end in a newline, are automatically treated as binary files and encoded. This option is typically used together with -i. Solaris only.

-dflag

Delete flag previously set with -f. Applicable flags are:

b

Enable the -b option in a get command; this allows branch deltas.

cn

Set highest release to n (default is 9999).

dn

Set get's default delta number to n.

fn

Set lowest release to n (default is 1).

i[string]

Treat "No id keywords (ge6)" as a fatal error. string, if present, forces a fatal error if keywords do not exactly match string. Solaris does not allow you to supply a string.

j

Allow multiple concurrent gets.

llist

Releases in list cannot accept changes; use the letter a to specify all releases.

mname

Substitute %M% keyword with module name.

n

Create a null delta from which to branch.

qstring

Substitute %Q% keyword with string.

ttype

Substitute %Y% keyword with module type.

v[prog]

Force delta command to prompt for modification request numbers as the reason for creating a delta. Run program prog to check for valid numbers.

-e[user | groupid]

Permission to make deltas is denied to each user or groupid.

-fflag

Set flag (see -d above).

-h

Check an existing SCCS file for possible corruption.

-i[file]

Create a new SCCS file using the contents of file as the initial delta. If file is omitted, use standard input. This option implies the -n option.

-m[list]

Insert list of modification request numbers as the reason for creating the file.

-n

Create a new SCCS file that is empty.

-rn.n

Set initial delta to release number n.n. Default is 1.1. Can only be used with -i.

-t[file]

Replace SCCS file description with contents of file. If file is missing, the existing description is deleted.

-y[text]

Insert text as comment for initial delta (valid only with -i or -n).

-z

Recompute the SCCS file checksum and store in first line. The file should be verified first; see val.


Previous: 18.6 Alphabetical Summary of SCCS CommandsUNIX in a Nutshell: System V EditionNext: Reference: cdc
18.6 Alphabetical Summary of SCCS CommandsBook IndexReference: cdc

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System