|
Packit |
7cfc04 |
'\" et
|
|
Packit |
7cfc04 |
.TH ADMIN "1P" 2013 "IEEE/The Open Group" "POSIX Programmer's Manual"
|
|
Packit |
7cfc04 |
.SH PROLOG
|
|
Packit |
7cfc04 |
This manual page is part of the POSIX Programmer's Manual.
|
|
Packit |
7cfc04 |
The Linux implementation of this interface may differ (consult
|
|
Packit |
7cfc04 |
the corresponding Linux manual page for details of Linux behavior),
|
|
Packit |
7cfc04 |
or the interface may not be implemented on Linux.
|
|
Packit |
7cfc04 |
|
|
Packit |
7cfc04 |
.SH NAME
|
|
Packit |
7cfc04 |
admin
|
|
Packit |
7cfc04 |
\(em create and administer SCCS files (\fBDEVELOPMENT\fP)
|
|
Packit |
7cfc04 |
.SH SYNOPSIS
|
|
Packit |
7cfc04 |
.LP
|
|
Packit |
7cfc04 |
.nf
|
|
Packit |
7cfc04 |
admin \(mii\fB[\fIname\fB] [\fR\(min\fB] [\fR\(mia \fIlogin\fB] [\fR\(mid \fIflag\fB] [\fR\(mie \fIlogin\fB] [\fR\(mif \fIflag\fB]
|
|
Packit |
7cfc04 |
[\fR\(mim \fImrlist\fB] [\fR\(mir \fIrel\fB] [\fR\(mit\fB[\fIname\fB] [\fR\(miy\fB[\fIcomment\fB]] \fInewfile\fR
|
|
Packit |
7cfc04 |
.P
|
|
Packit |
7cfc04 |
admin \(min\fB [\fR\(mia \fIlogin\fB] [\fR\(mid \fIflag\fB] [\fR\(mie \fIlogin\fB] [\fR\(mif \fIflag\fB] [\fR\(mim \fImrlist\fB]
|
|
Packit |
7cfc04 |
[\fR\(mit\fB[\fIname\fB]] [\fR\(miy\fB[\fIcomment\fB]] \fInewfile\fR...
|
|
Packit |
7cfc04 |
.P
|
|
Packit |
7cfc04 |
admin \fB[\fR\(mia \fIlogin\fB] [\fR\(mid \fIflag\fB] [\fR\(mim \fImrlist\fB] [\fR\(mir \fIrel\fB] [\fR\(mit\fB[\fIname\fB]]\fR \fIfile\fR...
|
|
Packit |
7cfc04 |
.P
|
|
Packit |
7cfc04 |
admin \(mih \fIfile\fR...
|
|
Packit |
7cfc04 |
.P
|
|
Packit |
7cfc04 |
admin \(miz \fIfile\fR...
|
|
Packit |
7cfc04 |
.fi
|
|
Packit |
7cfc04 |
.SH DESCRIPTION
|
|
Packit |
7cfc04 |
The
|
|
Packit |
7cfc04 |
.IR admin
|
|
Packit |
7cfc04 |
utility shall create new SCCS files or change parameters of existing
|
|
Packit |
7cfc04 |
ones. If a named file does not exist, it shall be created, and its
|
|
Packit |
7cfc04 |
parameters shall be initialized according to the specified options.
|
|
Packit |
7cfc04 |
Parameters not initialized by an option shall be assigned a default
|
|
Packit |
7cfc04 |
value. If a named file does exist, parameters corresponding to
|
|
Packit |
7cfc04 |
specified options shall be changed, and other parameters shall be left
|
|
Packit |
7cfc04 |
as is.
|
|
Packit |
7cfc04 |
.P
|
|
Packit |
7cfc04 |
All SCCS filenames supplied by the application shall be of the form
|
|
Packit |
7cfc04 |
s.\fIfilename\fP. New SCCS files shall be given read-only permission
|
|
Packit |
7cfc04 |
mode. Write permission in the parent directory is required to create a
|
|
Packit |
7cfc04 |
file. All writing done by
|
|
Packit |
7cfc04 |
.IR admin
|
|
Packit |
7cfc04 |
shall be to a temporary
|
|
Packit |
7cfc04 |
.IR x-file ,
|
|
Packit |
7cfc04 |
named x.\fIfilename\fP (see
|
|
Packit |
7cfc04 |
.IR "\fIget\fR\^")
|
|
Packit |
7cfc04 |
created with read-only mode if
|
|
Packit |
7cfc04 |
.IR admin
|
|
Packit |
7cfc04 |
is creating a new SCCS file, or created with the same mode as that of
|
|
Packit |
7cfc04 |
the SCCS file if the file already exists. After successful execution of
|
|
Packit |
7cfc04 |
.IR admin ,
|
|
Packit |
7cfc04 |
the SCCS file shall be removed (if it exists), and the
|
|
Packit |
7cfc04 |
.IR x-file
|
|
Packit |
7cfc04 |
shall be renamed with the name of the SCCS file. This ensures that
|
|
Packit |
7cfc04 |
changes are made to the SCCS file only if no errors occur.
|
|
Packit |
7cfc04 |
.P
|
|
Packit |
7cfc04 |
The
|
|
Packit |
7cfc04 |
.IR admin
|
|
Packit |
7cfc04 |
utility shall also use a transient lock file (named z.\fIfilename\fP),
|
|
Packit |
7cfc04 |
which is used to prevent simultaneous updates to the SCCS file; see
|
|
Packit |
7cfc04 |
.IR "\fIget\fR\^".
|
|
Packit |
7cfc04 |
.SH OPTIONS
|
|
Packit |
7cfc04 |
The
|
|
Packit |
7cfc04 |
.IR admin
|
|
Packit |
7cfc04 |
utility shall conform to the Base Definitions volume of POSIX.1\(hy2008,
|
|
Packit |
7cfc04 |
.IR "Section 12.2" ", " "Utility Syntax Guidelines",
|
|
Packit |
7cfc04 |
except that the
|
|
Packit |
7cfc04 |
.BR \(mii ,
|
|
Packit |
7cfc04 |
.BR \(mit ,
|
|
Packit |
7cfc04 |
and
|
|
Packit |
7cfc04 |
.BR \(miy
|
|
Packit |
7cfc04 |
options have optional option-arguments. These optional option-arguments
|
|
Packit |
7cfc04 |
shall not be presented as separate arguments. The following options are
|
|
Packit |
7cfc04 |
supported:
|
|
Packit |
7cfc04 |
.IP "\fB\(min\fP" 10
|
|
Packit |
7cfc04 |
Create a new SCCS file. When
|
|
Packit |
7cfc04 |
.BR \(min
|
|
Packit |
7cfc04 |
is used without
|
|
Packit |
7cfc04 |
.BR \(mii ,
|
|
Packit |
7cfc04 |
the SCCS file shall be created with control information but without any
|
|
Packit |
7cfc04 |
file data.
|
|
Packit |
7cfc04 |
.IP "\fB\(mii[\fIname\fB]\fR" 10
|
|
Packit |
7cfc04 |
Specify the
|
|
Packit |
7cfc04 |
.IR name
|
|
Packit |
7cfc04 |
of a file from which the text for a new SCCS file shall be taken. The
|
|
Packit |
7cfc04 |
text constitutes the first delta of the file (see the
|
|
Packit |
7cfc04 |
.BR \(mir
|
|
Packit |
7cfc04 |
option for the delta numbering scheme). If the
|
|
Packit |
7cfc04 |
.BR \(mii
|
|
Packit |
7cfc04 |
option is used, but the
|
|
Packit |
7cfc04 |
.IR name
|
|
Packit |
7cfc04 |
option-argument is omitted, the text shall be obtained by reading the
|
|
Packit |
7cfc04 |
standard input. If this option is omitted, the SCCS file shall be
|
|
Packit |
7cfc04 |
created with control information but without any file data. The
|
|
Packit |
7cfc04 |
.BR \(mii
|
|
Packit |
7cfc04 |
option implies the
|
|
Packit |
7cfc04 |
.BR \(min
|
|
Packit |
7cfc04 |
option.
|
|
Packit |
7cfc04 |
.IP "\fB\(mir\ \fISID\fR" 10
|
|
Packit |
7cfc04 |
Specify the SID of the initial delta to be inserted. This SID shall be
|
|
Packit |
7cfc04 |
a trunk SID; that is, the branch and sequence numbers shall be zero or
|
|
Packit |
7cfc04 |
missing. The level number is optional, and defaults to 1.
|
|
Packit |
7cfc04 |
.IP "\fB\(mit[\fIname\fB]\fR" 10
|
|
Packit |
7cfc04 |
Specify the
|
|
Packit |
7cfc04 |
.IR name
|
|
Packit |
7cfc04 |
of a file from which descriptive text for the SCCS file shall be taken.
|
|
Packit |
7cfc04 |
In the case of existing SCCS files (neither
|
|
Packit |
7cfc04 |
.BR \(mii
|
|
Packit |
7cfc04 |
nor
|
|
Packit |
7cfc04 |
.BR \(min
|
|
Packit |
7cfc04 |
is specified):
|
|
Packit |
7cfc04 |
.RS 10
|
|
Packit |
7cfc04 |
.IP " *" 4
|
|
Packit |
7cfc04 |
A
|
|
Packit |
7cfc04 |
.BR \(mit
|
|
Packit |
7cfc04 |
option without a
|
|
Packit |
7cfc04 |
.IR name
|
|
Packit |
7cfc04 |
option-argument shall cause the removal of descriptive text (if any)
|
|
Packit |
7cfc04 |
currently in the SCCS file.
|
|
Packit |
7cfc04 |
.IP " *" 4
|
|
Packit |
7cfc04 |
A
|
|
Packit |
7cfc04 |
.BR \(mit
|
|
Packit |
7cfc04 |
option with a
|
|
Packit |
7cfc04 |
.IR name
|
|
Packit |
7cfc04 |
option-argument shall cause the text (if any) in the named file to
|
|
Packit |
7cfc04 |
replace the descriptive text (if any) currently in the SCCS file.
|
|
Packit |
7cfc04 |
.RE
|
|
Packit |
7cfc04 |
.IP "\fB\(mif\ \fIflag\fR" 10
|
|
Packit |
7cfc04 |
Specify a
|
|
Packit |
7cfc04 |
.IR flag ,
|
|
Packit |
7cfc04 |
and, possibly, a value for the
|
|
Packit |
7cfc04 |
.IR flag ,
|
|
Packit |
7cfc04 |
to be placed in the SCCS file. Several
|
|
Packit |
7cfc04 |
.BR \(mif
|
|
Packit |
7cfc04 |
options may be supplied on a single
|
|
Packit |
7cfc04 |
.IR admin
|
|
Packit |
7cfc04 |
command line. Implementations shall recognize the following flags
|
|
Packit |
7cfc04 |
and associated values:
|
|
Packit |
7cfc04 |
.RS 10
|
|
Packit |
7cfc04 |
.IP "\fBb\fP" 8
|
|
Packit |
7cfc04 |
Allow use of the
|
|
Packit |
7cfc04 |
.BR \(mib
|
|
Packit |
7cfc04 |
option on a
|
|
Packit |
7cfc04 |
.IR get
|
|
Packit |
7cfc04 |
command to create branch deltas.
|
|
Packit |
7cfc04 |
.IP "\fBc\fIceil\fR" 8
|
|
Packit |
7cfc04 |
Specify the highest release (that is, ceiling), a number less than or
|
|
Packit |
7cfc04 |
equal to 9\|999, which may be retrieved by a
|
|
Packit |
7cfc04 |
.IR get
|
|
Packit |
7cfc04 |
command for editing. The default value for an unspecified
|
|
Packit |
7cfc04 |
.BR c
|
|
Packit |
7cfc04 |
flag shall be 9\|999.
|
|
Packit |
7cfc04 |
.IP "\fBf\fIfloor\fR" 8
|
|
Packit |
7cfc04 |
Specify the lowest release (that is, floor), a number greater than 0
|
|
Packit |
7cfc04 |
but less than 9\|999, which may be retrieved by a
|
|
Packit |
7cfc04 |
.IR get
|
|
Packit |
7cfc04 |
command for editing. The default value for an unspecified
|
|
Packit |
7cfc04 |
.BR f
|
|
Packit |
7cfc04 |
flag shall be 1.
|
|
Packit |
7cfc04 |
.IP "\fBd\fISID\fR" 8
|
|
Packit |
7cfc04 |
Specify the default delta number (SID) to be used by a
|
|
Packit |
7cfc04 |
.IR get
|
|
Packit |
7cfc04 |
command.
|
|
Packit |
7cfc04 |
.IP "\fBi\fIstr\fR" 8
|
|
Packit |
7cfc04 |
Treat the ``No ID keywords'' message issued by
|
|
Packit |
7cfc04 |
.IR get
|
|
Packit |
7cfc04 |
or
|
|
Packit |
7cfc04 |
.IR delta
|
|
Packit |
7cfc04 |
as a fatal error. In the absence of this flag, the message is only a
|
|
Packit |
7cfc04 |
warning. The message is issued if no SCCS identification keywords (see
|
|
Packit |
7cfc04 |
.IR "\fIget\fR\^")
|
|
Packit |
7cfc04 |
are found in the text retrieved or stored in the SCCS file. If a value
|
|
Packit |
7cfc04 |
is supplied, the application shall ensure that the keywords exactly
|
|
Packit |
7cfc04 |
match the given string; however, the string shall contain a keyword,
|
|
Packit |
7cfc04 |
and no embedded
|
|
Packit |
7cfc04 |
<newline>
|
|
Packit |
7cfc04 |
characters.
|
|
Packit |
7cfc04 |
.IP "\fBj\fP" 8
|
|
Packit |
7cfc04 |
Allow concurrent
|
|
Packit |
7cfc04 |
.IR get
|
|
Packit |
7cfc04 |
commands for editing on the same SID of an SCCS file. This allows
|
|
Packit |
7cfc04 |
multiple concurrent updates to the same version of the SCCS file.
|
|
Packit |
7cfc04 |
.IP "\fBl\fIlist\fR" 8
|
|
Packit |
7cfc04 |
Specify a
|
|
Packit |
7cfc04 |
.IR list
|
|
Packit |
7cfc04 |
of releases to which deltas can no longer be made (that is,
|
|
Packit |
7cfc04 |
.IR get
|
|
Packit |
7cfc04 |
.BR \(mie
|
|
Packit |
7cfc04 |
against one of these locked releases fails). Conforming applications
|
|
Packit |
7cfc04 |
shall use the following syntax to specify a
|
|
Packit |
7cfc04 |
.IR list .
|
|
Packit |
7cfc04 |
Implementations may accept additional forms as an extension:
|
|
Packit |
7cfc04 |
.RS 8
|
|
Packit |
7cfc04 |
.sp
|
|
Packit |
7cfc04 |
.RS 4
|
|
Packit |
7cfc04 |
.nf
|
|
Packit |
7cfc04 |
\fB
|
|
Packit |
7cfc04 |
<list> ::= a | <range-list>
|
|
Packit |
7cfc04 |
<range-list> ::= <range> | <range-list>, <range>
|
|
Packit |
7cfc04 |
<range> ::= <SID>
|
|
Packit |
7cfc04 |
.fi \fR
|
|
Packit |
7cfc04 |
.P
|
|
Packit |
7cfc04 |
.RE
|
|
Packit |
7cfc04 |
.P
|
|
Packit |
7cfc04 |
The character
|
|
Packit |
7cfc04 |
.IR a
|
|
Packit |
7cfc04 |
in the
|
|
Packit |
7cfc04 |
.IR list
|
|
Packit |
7cfc04 |
shall be equivalent to specifying all releases for the named SCCS file.
|
|
Packit |
7cfc04 |
The non-terminal <\fISID\fP> in range shall be the delta number of an
|
|
Packit |
7cfc04 |
existing delta associated with the SCCS file.
|
|
Packit |
7cfc04 |
.RE
|
|
Packit |
7cfc04 |
.IP "\fBn\fP" 8
|
|
Packit |
7cfc04 |
Cause
|
|
Packit |
7cfc04 |
.IR delta
|
|
Packit |
7cfc04 |
to create a null delta in each of those releases (if any) being skipped
|
|
Packit |
7cfc04 |
when a delta is made in a new release (for example, in making delta 5.1
|
|
Packit |
7cfc04 |
after delta 2.7, releases 3 and 4 are skipped). These null deltas shall
|
|
Packit |
7cfc04 |
serve as anchor points so that branch deltas may later be created from
|
|
Packit |
7cfc04 |
them. The absence of this flag shall cause skipped releases to be
|
|
Packit |
7cfc04 |
nonexistent in the SCCS file, preventing branch deltas from being
|
|
Packit |
7cfc04 |
created from them in the future. During the initial creation of an SCCS
|
|
Packit |
7cfc04 |
file, the
|
|
Packit |
7cfc04 |
.BR n
|
|
Packit |
7cfc04 |
flag may be ignored; that is, if the
|
|
Packit |
7cfc04 |
.BR \(mir
|
|
Packit |
7cfc04 |
option is used to set the release number of the initial SID to a value
|
|
Packit |
7cfc04 |
greater than 1, null deltas need not be created for the ``skipped''
|
|
Packit |
7cfc04 |
releases.
|
|
Packit |
7cfc04 |
.IP "\fBq\fItext\fR" 8
|
|
Packit |
7cfc04 |
Substitute user-definable
|
|
Packit |
7cfc04 |
.IR text
|
|
Packit |
7cfc04 |
for all occurrences of the %\fBQ\fP% keyword in the SCCS file text
|
|
Packit |
7cfc04 |
retrieved by
|
|
Packit |
7cfc04 |
.IR get .
|
|
Packit |
7cfc04 |
.IP "\fBm\fImod\fR" 8
|
|
Packit |
7cfc04 |
Specify the module name of the SCCS file substituted for all
|
|
Packit |
7cfc04 |
occurrences of the %\fBM\fP% keyword in the SCCS file text retrieved by
|
|
Packit |
7cfc04 |
.IR get .
|
|
Packit |
7cfc04 |
If the
|
|
Packit |
7cfc04 |
.BR m
|
|
Packit |
7cfc04 |
flag is not specified, the value assigned shall be the name of the SCCS
|
|
Packit |
7cfc04 |
file with the leading
|
|
Packit |
7cfc04 |
.BR '.'
|
|
Packit |
7cfc04 |
removed.
|
|
Packit |
7cfc04 |
.IP "\fBt\fItype\fR" 8
|
|
Packit |
7cfc04 |
Specify the
|
|
Packit |
7cfc04 |
.IR type
|
|
Packit |
7cfc04 |
of module in the SCCS file substituted for all occurrences of the
|
|
Packit |
7cfc04 |
%\fBY\fP% keyword in the SCCS file text retrieved by
|
|
Packit |
7cfc04 |
.IR get .
|
|
Packit |
7cfc04 |
.IP "\fBv\fIpgm\fR" 8
|
|
Packit |
7cfc04 |
Cause
|
|
Packit |
7cfc04 |
.IR delta
|
|
Packit |
7cfc04 |
to prompt for modification request (MR) numbers as the reason for
|
|
Packit |
7cfc04 |
creating a delta. The optional value specifies the name of an MR
|
|
Packit |
7cfc04 |
number validation program. (If this flag is set when creating an SCCS
|
|
Packit |
7cfc04 |
file, the application shall ensure that the
|
|
Packit |
7cfc04 |
.BR m
|
|
Packit |
7cfc04 |
option is also used even if its value is null.)
|
|
Packit |
7cfc04 |
.RE
|
|
Packit |
7cfc04 |
.IP "\fB\(mid\ \fIflag\fR" 10
|
|
Packit |
7cfc04 |
Remove (delete) the specified
|
|
Packit |
7cfc04 |
.IR flag
|
|
Packit |
7cfc04 |
from an SCCS file. Several
|
|
Packit |
7cfc04 |
.BR \(mid
|
|
Packit |
7cfc04 |
options may be supplied on a single
|
|
Packit |
7cfc04 |
.IR admin
|
|
Packit |
7cfc04 |
command. See the
|
|
Packit |
7cfc04 |
.BR \(mif
|
|
Packit |
7cfc04 |
option for allowable
|
|
Packit |
7cfc04 |
.IR flag
|
|
Packit |
7cfc04 |
names. (The
|
|
Packit |
7cfc04 |
.BR l \c
|
|
Packit |
7cfc04 |
.IR list
|
|
Packit |
7cfc04 |
flag gives a
|
|
Packit |
7cfc04 |
.IR list
|
|
Packit |
7cfc04 |
of releases to be unlocked. See the
|
|
Packit |
7cfc04 |
.BR \(mif
|
|
Packit |
7cfc04 |
option for further description of the
|
|
Packit |
7cfc04 |
.BR l
|
|
Packit |
7cfc04 |
flag and the syntax of a
|
|
Packit |
7cfc04 |
.IR list .)
|
|
Packit |
7cfc04 |
.IP "\fB\(mia\ \fIlogin\fR" 10
|
|
Packit |
7cfc04 |
Specify a
|
|
Packit |
7cfc04 |
.IR login
|
|
Packit |
7cfc04 |
name, or numerical group ID, to be added to the list of users who may
|
|
Packit |
7cfc04 |
make deltas (changes) to the SCCS file. A group ID shall be equivalent
|
|
Packit |
7cfc04 |
to specifying all
|
|
Packit |
7cfc04 |
.IR login
|
|
Packit |
7cfc04 |
names common to that group ID. Several
|
|
Packit |
7cfc04 |
.BR \(mia
|
|
Packit |
7cfc04 |
options may be used on a single
|
|
Packit |
7cfc04 |
.IR admin
|
|
Packit |
7cfc04 |
command line. As many
|
|
Packit |
7cfc04 |
.IR login s,
|
|
Packit |
7cfc04 |
or numerical group IDs, as desired may be on the list simultaneously.
|
|
Packit |
7cfc04 |
If the list of users is empty, then anyone may add deltas. If
|
|
Packit |
7cfc04 |
.IR login
|
|
Packit |
7cfc04 |
or group ID is preceded by a
|
|
Packit |
7cfc04 |
.BR '!' ,
|
|
Packit |
7cfc04 |
the users so specified shall be denied permission to make deltas.
|
|
Packit |
7cfc04 |
.IP "\fB\(mie\ \fIlogin\fR" 10
|
|
Packit |
7cfc04 |
Specify a
|
|
Packit |
7cfc04 |
.IR login
|
|
Packit |
7cfc04 |
name, or numerical group ID, to be erased from the list of users
|
|
Packit |
7cfc04 |
allowed to make deltas (changes) to the SCCS file. Specifying a group
|
|
Packit |
7cfc04 |
ID is equivalent to specifying all
|
|
Packit |
7cfc04 |
.IR login
|
|
Packit |
7cfc04 |
names common to that group ID. Several
|
|
Packit |
7cfc04 |
.BR \(mie
|
|
Packit |
7cfc04 |
options may be used on a single
|
|
Packit |
7cfc04 |
.IR admin
|
|
Packit |
7cfc04 |
command line.
|
|
Packit |
7cfc04 |
.IP "\fB\(miy[\fIcomment\fB]\fR" 10
|
|
Packit |
7cfc04 |
Insert the
|
|
Packit |
7cfc04 |
.IR comment
|
|
Packit |
7cfc04 |
text into the SCCS file as a comment for the initial delta in a manner
|
|
Packit |
7cfc04 |
identical to that of
|
|
Packit |
7cfc04 |
.IR delta .
|
|
Packit |
7cfc04 |
In the POSIX locale, omission of the
|
|
Packit |
7cfc04 |
.BR \(miy
|
|
Packit |
7cfc04 |
option shall result in a default comment line being inserted in
|
|
Packit |
7cfc04 |
the form:
|
|
Packit |
7cfc04 |
.RS 10
|
|
Packit |
7cfc04 |
.sp
|
|
Packit |
7cfc04 |
.RS 4
|
|
Packit |
7cfc04 |
.nf
|
|
Packit |
7cfc04 |
\fB
|
|
Packit |
7cfc04 |
"date and time created %s %s by %s", <\fIdate\fR>, <\fItime\fR>, <\fIlogin\fR>
|
|
Packit |
7cfc04 |
.fi \fR
|
|
Packit |
7cfc04 |
.P
|
|
Packit |
7cfc04 |
.RE
|
|
Packit |
7cfc04 |
.P
|
|
Packit |
7cfc04 |
where <\fIdate\fP> is expressed in the format of the
|
|
Packit |
7cfc04 |
.IR date
|
|
Packit |
7cfc04 |
utility's
|
|
Packit |
7cfc04 |
.BR %y /\c
|
|
Packit |
7cfc04 |
.BR %m /\c
|
|
Packit |
7cfc04 |
.BR %d
|
|
Packit |
7cfc04 |
conversion specification, <\fItime\fP> in the format of the
|
|
Packit |
7cfc04 |
.IR date
|
|
Packit |
7cfc04 |
utility's
|
|
Packit |
7cfc04 |
.BR %T
|
|
Packit |
7cfc04 |
conversion specification format, and <\fIlogin\fP> is the login name of
|
|
Packit |
7cfc04 |
the user creating the file.
|
|
Packit |
7cfc04 |
.RE
|
|
Packit |
7cfc04 |
.IP "\fB\(mim\ \fImrlist\fR" 10
|
|
Packit |
7cfc04 |
Insert the list of modification request (MR) numbers into the SCCS
|
|
Packit |
7cfc04 |
file as the reason for creating the initial delta in a manner identical to
|
|
Packit |
7cfc04 |
.IR delta .
|
|
Packit |
7cfc04 |
The application shall ensure that the
|
|
Packit |
7cfc04 |
.BR v
|
|
Packit |
7cfc04 |
flag is set and the MR numbers are validated if the
|
|
Packit |
7cfc04 |
.BR v
|
|
Packit |
7cfc04 |
flag has a value (the name of an MR number validation program).
|
|
Packit |
7cfc04 |
A diagnostic message shall be written if the
|
|
Packit |
7cfc04 |
.BR v
|
|
Packit |
7cfc04 |
flag is not set or MR validation fails.
|
|
Packit |
7cfc04 |
.IP "\fB\(mih\fP" 10
|
|
Packit |
7cfc04 |
Check the structure of the SCCS file and compare the newly computed
|
|
Packit |
7cfc04 |
checksum with the checksum that is stored in the SCCS file. If the
|
|
Packit |
7cfc04 |
newly computed checksum does not match the checksum in the SCCS file, a
|
|
Packit |
7cfc04 |
diagnostic message shall be written.
|
|
Packit |
7cfc04 |
.IP "\fB\(miz\fR" 10
|
|
Packit |
7cfc04 |
Recompute the SCCS file checksum and store it in the first line of the
|
|
Packit |
7cfc04 |
SCCS file (see the
|
|
Packit |
7cfc04 |
.BR \(mih
|
|
Packit |
7cfc04 |
option above). Note that use of this option on a truly corrupted
|
|
Packit |
7cfc04 |
file may prevent future detection of the corruption.
|
|
Packit |
7cfc04 |
.SH OPERANDS
|
|
Packit |
7cfc04 |
The following operands shall be supported:
|
|
Packit |
7cfc04 |
.IP "\fIfile\fR" 10
|
|
Packit |
7cfc04 |
A pathname of an existing SCCS file or a directory. If
|
|
Packit |
7cfc04 |
.IR file
|
|
Packit |
7cfc04 |
is a directory, the
|
|
Packit |
7cfc04 |
.IR admin
|
|
Packit |
7cfc04 |
utility shall behave as though each file in the directory were
|
|
Packit |
7cfc04 |
specified as a named file, except that non-SCCS files (last component
|
|
Packit |
7cfc04 |
of the pathname does not begin with
|
|
Packit |
7cfc04 |
.BR s. )
|
|
Packit |
7cfc04 |
and unreadable files shall be silently ignored.
|
|
Packit |
7cfc04 |
.IP "\fInewfile\fR" 10
|
|
Packit |
7cfc04 |
A pathname of an SCCS file to be created.
|
|
Packit |
7cfc04 |
.P
|
|
Packit |
7cfc04 |
If exactly one
|
|
Packit |
7cfc04 |
.IR file
|
|
Packit |
7cfc04 |
or
|
|
Packit |
7cfc04 |
.IR newfile
|
|
Packit |
7cfc04 |
operand appears, and it is
|
|
Packit |
7cfc04 |
.BR '\(mi' ,
|
|
Packit |
7cfc04 |
the standard input shall be read; each line of the standard input shall
|
|
Packit |
7cfc04 |
be taken to be the name of an SCCS file to be processed. Non-SCCS files
|
|
Packit |
7cfc04 |
and unreadable files shall be silently ignored.
|
|
Packit |
7cfc04 |
.SH STDIN
|
|
Packit |
7cfc04 |
The standard input shall be a text file used only if
|
|
Packit |
7cfc04 |
.BR \(mii
|
|
Packit |
7cfc04 |
is specified without an option-argument or if a
|
|
Packit |
7cfc04 |
.IR file
|
|
Packit |
7cfc04 |
or
|
|
Packit |
7cfc04 |
.IR newfile
|
|
Packit |
7cfc04 |
operand is specified as
|
|
Packit |
7cfc04 |
.BR '\(mi' .
|
|
Packit |
7cfc04 |
If the first character of any standard input line is
|
|
Packit |
7cfc04 |
<SOH>
|
|
Packit |
7cfc04 |
in the POSIX locale, the results are unspecified.
|
|
Packit |
7cfc04 |
.SH "INPUT FILES"
|
|
Packit |
7cfc04 |
The existing SCCS files shall be text files of an unspecified format.
|
|
Packit |
7cfc04 |
.P
|
|
Packit |
7cfc04 |
The application shall ensure that the file named by the
|
|
Packit |
7cfc04 |
.BR \(mii
|
|
Packit |
7cfc04 |
option's
|
|
Packit |
7cfc04 |
.IR name
|
|
Packit |
7cfc04 |
option-argument shall be a text file; if the first character of any
|
|
Packit |
7cfc04 |
line in this file is
|
|
Packit |
7cfc04 |
<SOH>
|
|
Packit |
7cfc04 |
in the POSIX locale, the results are unspecified. If this file contains
|
|
Packit |
7cfc04 |
more than 99\|999 lines, the number of lines recorded in the header for
|
|
Packit |
7cfc04 |
this file shall be 99\|999 for this delta.
|
|
Packit |
7cfc04 |
.SH "ENVIRONMENT VARIABLES"
|
|
Packit |
7cfc04 |
The following environment variables shall affect the execution of
|
|
Packit |
7cfc04 |
.IR admin :
|
|
Packit |
7cfc04 |
.IP "\fILANG\fP" 10
|
|
Packit |
7cfc04 |
Provide a default value for the internationalization variables that are
|
|
Packit |
7cfc04 |
unset or null. (See the Base Definitions volume of POSIX.1\(hy2008,
|
|
Packit |
7cfc04 |
.IR "Section 8.2" ", " "Internationalization Variables"
|
|
Packit |
7cfc04 |
for the precedence of internationalization variables used to determine
|
|
Packit |
7cfc04 |
the values of locale categories.)
|
|
Packit |
7cfc04 |
.IP "\fILC_ALL\fP" 10
|
|
Packit |
7cfc04 |
If set to a non-empty string value, override the values of all the
|
|
Packit |
7cfc04 |
other internationalization variables.
|
|
Packit |
7cfc04 |
.IP "\fILC_CTYPE\fP" 10
|
|
Packit |
7cfc04 |
Determine the locale for the interpretation of sequences of bytes of
|
|
Packit |
7cfc04 |
text data as characters (for example, single-byte as opposed to
|
|
Packit |
7cfc04 |
multi-byte characters in arguments and input files).
|
|
Packit |
7cfc04 |
.IP "\fILC_MESSAGES\fP" 10
|
|
Packit |
7cfc04 |
.br
|
|
Packit |
7cfc04 |
Determine the locale that should be used to affect the format and
|
|
Packit |
7cfc04 |
contents of diagnostic messages written to standard error and the
|
|
Packit |
7cfc04 |
contents of the default
|
|
Packit |
7cfc04 |
.BR \(miy
|
|
Packit |
7cfc04 |
comment.
|
|
Packit |
7cfc04 |
.IP "\fINLSPATH\fP" 10
|
|
Packit |
7cfc04 |
Determine the location of message catalogs for the processing of
|
|
Packit |
7cfc04 |
.IR LC_MESSAGES .
|
|
Packit |
7cfc04 |
.SH "ASYNCHRONOUS EVENTS"
|
|
Packit |
7cfc04 |
Default.
|
|
Packit |
7cfc04 |
.SH STDOUT
|
|
Packit |
7cfc04 |
Not used.
|
|
Packit |
7cfc04 |
.SH STDERR
|
|
Packit |
7cfc04 |
The standard error shall be used only for diagnostic messages.
|
|
Packit |
7cfc04 |
.SH "OUTPUT FILES"
|
|
Packit |
7cfc04 |
Any SCCS files created shall be text files of an unspecified format.
|
|
Packit |
7cfc04 |
During processing of a
|
|
Packit |
7cfc04 |
.IR file ,
|
|
Packit |
7cfc04 |
a locking
|
|
Packit |
7cfc04 |
.IR z-file ,
|
|
Packit |
7cfc04 |
as described in
|
|
Packit |
7cfc04 |
.IR "\fIget\fR\^",
|
|
Packit |
7cfc04 |
may be created and deleted.
|
|
Packit |
7cfc04 |
.SH "EXTENDED DESCRIPTION"
|
|
Packit |
7cfc04 |
None.
|
|
Packit |
7cfc04 |
.SH "EXIT STATUS"
|
|
Packit |
7cfc04 |
The following exit values shall be returned:
|
|
Packit |
7cfc04 |
.IP "\00" 6
|
|
Packit |
7cfc04 |
Successful completion.
|
|
Packit |
7cfc04 |
.IP >0 6
|
|
Packit |
7cfc04 |
An error occurred.
|
|
Packit |
7cfc04 |
.SH "CONSEQUENCES OF ERRORS"
|
|
Packit |
7cfc04 |
Default.
|
|
Packit |
7cfc04 |
.LP
|
|
Packit |
7cfc04 |
.IR "The following sections are informative."
|
|
Packit |
7cfc04 |
.SH "APPLICATION USAGE"
|
|
Packit |
7cfc04 |
It is recommended that directories containing SCCS files be writable by
|
|
Packit |
7cfc04 |
the owner only, and that SCCS files themselves be read-only. The mode
|
|
Packit |
7cfc04 |
of the directories should allow only the owner to modify SCCS files
|
|
Packit |
7cfc04 |
contained in the directories. The mode of the SCCS files prevents any
|
|
Packit |
7cfc04 |
modification at all except by SCCS commands.
|
|
Packit |
7cfc04 |
.SH EXAMPLES
|
|
Packit |
7cfc04 |
None.
|
|
Packit |
7cfc04 |
.SH RATIONALE
|
|
Packit |
7cfc04 |
None.
|
|
Packit |
7cfc04 |
.SH "FUTURE DIRECTIONS"
|
|
Packit |
7cfc04 |
None.
|
|
Packit |
7cfc04 |
.SH "SEE ALSO"
|
|
Packit |
7cfc04 |
.IR "\fIdelta\fR\^",
|
|
Packit |
7cfc04 |
.IR "\fIget\fR\^",
|
|
Packit |
7cfc04 |
.IR "\fIprs\fR\^",
|
|
Packit |
7cfc04 |
.IR "\fIwhat\fR\^"
|
|
Packit |
7cfc04 |
.P
|
|
Packit |
7cfc04 |
The Base Definitions volume of POSIX.1\(hy2008,
|
|
Packit |
7cfc04 |
.IR "Chapter 8" ", " "Environment Variables",
|
|
Packit |
7cfc04 |
.IR "Section 12.2" ", " "Utility Syntax Guidelines"
|
|
Packit |
7cfc04 |
.SH COPYRIGHT
|
|
Packit |
7cfc04 |
Portions of this text are reprinted and reproduced in electronic form
|
|
Packit |
7cfc04 |
from IEEE Std 1003.1, 2013 Edition, Standard for Information Technology
|
|
Packit |
7cfc04 |
-- Portable Operating System Interface (POSIX), The Open Group Base
|
|
Packit |
7cfc04 |
Specifications Issue 7, Copyright (C) 2013 by the Institute of
|
|
Packit |
7cfc04 |
Electrical and Electronics Engineers, Inc and The Open Group.
|
|
Packit |
7cfc04 |
(This is POSIX.1-2008 with the 2013 Technical Corrigendum 1 applied.) In the
|
|
Packit |
7cfc04 |
event of any discrepancy between this version and the original IEEE and
|
|
Packit |
7cfc04 |
The Open Group Standard, the original IEEE and The Open Group Standard
|
|
Packit |
7cfc04 |
is the referee document. The original Standard can be obtained online at
|
|
Packit |
7cfc04 |
http://www.unix.org/online.html .
|
|
Packit |
7cfc04 |
|
|
Packit |
7cfc04 |
Any typographical or formatting errors that appear
|
|
Packit |
7cfc04 |
in this page are most likely
|
|
Packit |
7cfc04 |
to have been introduced during the conversion of the source files to
|
|
Packit |
7cfc04 |
man page format. To report such errors, see
|
|
Packit |
7cfc04 |
https://www.kernel.org/doc/man-pages/reporting_bugs.html .
|