⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sccs.html

📁 IEEE 1003.1-2003, Single Unix Specification v3
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta name="generator" content="HTML Tidy, see www.w3.org"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link type="text/css" rel="stylesheet" href="style.css"><!-- Generated by The Open Group's rhtm tool v1.2.1 --><!-- Copyright (c) 2001-2003 The Open Group, All Rights Reserved --><title>sccs</title></head><body bgcolor="white"><script type="text/javascript" language="JavaScript" src="../jscript/codes.js"></script><basefont size="3"> <a name="sccs"></a> <a name="tag_04_125"></a><!-- sccs --> <!--header start--><center><font size="2">The Open Group Base Specifications Issue 6<br>IEEE Std 1003.1, 2003 Edition<br>Copyright &copy; 2001-2003 The IEEE and The Open Group, All Rights reserved.</font></center><!--header end--><hr size="2" noshade><h4><a name="tag_04_125_01"></a>NAME</h4><blockquote>sccs - front end for the SCCS subsystem (<b>DEVELOPMENT</b>)</blockquote><h4><a name="tag_04_125_02"></a>SYNOPSIS</h4><blockquote class="synopsis"><div class="box"><code><tt><sup>[<a href="javascript:open_code('XSI')">XSI</a>]</sup> <img src="../images/opt-start.gif" alt="[Option Start]" border="0"> sccs</tt> <b>[</b><tt>-r</tt><b>][</b><tt>-d</tt> <i>path</i><b>][</b><tt>-p</tt> <i>path</i><b>]</b><i>command</i> <b>[</b><i>options</i><tt>...</tt><b>][</b><i>operands</i><tt>...</tt><b>]</b><tt><img src="../images/opt-end.gif"alt="[Option End]" border="0"></tt></code></div></blockquote><h4><a name="tag_04_125_03"></a>DESCRIPTION</h4><blockquote><p>The <i>sccs</i> utility is a front end to the SCCS programs. It also includes the capability to run set-user-id to another userto provide additional protection.</p><p>The <i>sccs</i> utility shall invoke the specified <i>command</i> with the specified <i>options</i> and <i>operands</i>. Bydefault, each of the <i>operands</i> shall be modified by prefixing it with the string <tt>"SCCS/s."</tt> .</p><p>The <i>command</i> can be the name of one of the SCCS utilities in this volume of IEEE&nbsp;Std&nbsp;1003.1-2001 ( <a href="../utilities/admin.html"><i>admin</i></a>, <a href="../utilities/delta.html"><i>delta</i></a>, <a href="../utilities/get.html"><i>get</i></a>, <a href="../utilities/prs.html"><i>prs</i></a>, <a href="../utilities/rmdel.html"><i>rmdel</i></a>, <a href="../utilities/sact.html"><i>sact</i></a>, <a href="../utilities/unget.html"><i>unget</i></a>, <a href="../utilities/val.html"><i>val</i></a>, or <a href="../utilities/what.html"><i>what</i></a>) or one of the pseudo-utilities listed in the EXTENDED DESCRIPTION section.</p></blockquote><h4><a name="tag_04_125_04"></a>OPTIONS</h4><blockquote><p>The <i>sccs</i> utility shall conform to the Base Definitions volume of IEEE&nbsp;Std&nbsp;1003.1-2001, <a href="../basedefs/xbd_chap12.html#tag_12_02">Section 12.2, Utility Syntax Guidelines</a>, except that <i>options</i> operands areactually options to be passed to the utility named by <i>command</i>. When the portion of the command:</p><pre><i>command</i> <b>[</b><i>options</i> <tt>...</tt> <b>] [</b><i>operands</i> <tt>...</tt> <b>]</b></pre><p>is considered, all of the pseudo-utilities used as <i>command</i> shall support the Utility Syntax Guidelines. Any of the otherSCCS utilities that can be invoked in this manner support the Guidelines to the extent indicated by their individual OPTIONSsections.</p><p>The following options shall be supported preceding the <i>command</i> operand:</p><dl compact><dt><b>-d&nbsp;</b> <i>path</i></dt><dd>A pathname of a directory to be used as a root directory for the SCCS files. The default shall be the current directory. The<b>-d</b> option shall take precedence over the <i>PROJECTDIR</i> variable. See <b>-p</b>.</dd><dt><b>-p&nbsp;</b> <i>path</i></dt><dd>A pathname of a directory in which the SCCS files are located. The default shall be the <b>SCCS</b> directory. <p>The <b>-p</b> option differs from the <b>-d</b> option in that the <b>-d</b> option-argument shall be prefixed to the entirepathname and the <b>-p</b> option-argument shall be inserted before the final component of the pathname. For example:</p><pre><tt>sccs -d /x -p y get a/b</tt></pre><p>converts to:</p><pre><tt>get /x/a/y/s.b</tt></pre><p>This allows the creation of aliases such as:</p><pre><tt>alias syssccs="sccs -d /usr/src"</tt></pre><p>which is used as:</p><pre><tt>syssccs get cmd/who.c</tt></pre></dd><dt><b>-r</b></dt><dd>Invoke <i>command</i> with the real user ID of the process, not any effective user ID that the <i>sccs</i> utility is set to.Certain commands ( <a href="../utilities/admin.html"><i>admin</i></a>, <b>check</b>, <b>clean</b>, <b>diffs</b>, <b>info</b>, <ahref="../utilities/rmdel.html"><i>rmdel</i></a>, and <b>tell</b>) cannot be run set-user-ID by all users, since this would allowanyone to change the authorizations. These commands are always run as the real user.</dd></dl></blockquote><h4><a name="tag_04_125_05"></a>OPERANDS</h4><blockquote><p>The following operands shall be supported:</p><dl compact><dt><i>command</i></dt><dd>An SCCS utility name or the name of one of the pseudo-utilities listed in the EXTENDED DESCRIPTION section.</dd><dt><i>options</i></dt><dd>An option or option-argument to be passed to <i>command</i>.</dd><dt><i>operands</i></dt><dd>An operand to be passed to <i>command</i>.</dd></dl></blockquote><h4><a name="tag_04_125_06"></a>STDIN</h4><blockquote><p>See the utility description for the specified <i>command</i>.</p></blockquote><h4><a name="tag_04_125_07"></a>INPUT FILES</h4><blockquote><p>See the utility description for the specified <i>command</i>.</p></blockquote><h4><a name="tag_04_125_08"></a>ENVIRONMENT VARIABLES</h4><blockquote><p>The following environment variables shall affect the execution of <i>sccs</i>:</p><dl compact><dt><i>LANG</i></dt><dd>Provide a default value for the internationalization variables that are unset or null. (See the Base Definitions volume ofIEEE&nbsp;Std&nbsp;1003.1-2001, <a href="../basedefs/xbd_chap08.html#tag_08_02">Section 8.2, Internationalization Variables</a> forthe precedence of internationalization variables used to determine the values of locale categories.)</dd><dt><i>LC_ALL</i></dt><dd>If set to a non-empty string value, override the values of all the other internationalization variables.</dd><dt><i>LC_CTYPE</i></dt><dd>Determine the locale for the interpretation of sequences of bytes of text data as characters (for example, single-byte asopposed to multi-byte characters in arguments and input files).</dd><dt><i>LC_MESSAGES</i></dt><dd>Determine the locale that should be used to affect the format and contents of diagnostic messages written to standarderror.</dd><dt><i>NLSPATH</i></dt><dd>Determine the location of message catalogs for the processing of <i>LC_MESSAGES .</i></dd><dt><i>PROJECTDIR</i></dt><dd><br>Provide a default value for the <b>-d</b> <i>path</i> option. If the value of <i>PROJECTDIR</i> begins with a slash, it shall beconsidered an absolute pathname; otherwise, the value of <i>PROJECTDIR</i> is treated as a user name and that user's initialworking directory shall be examined for a subdirectory <b>src</b> or <b>source</b>. If such a directory is found, it shall be used.Otherwise, the value shall be used as a relative pathname.</dd></dl><p>Additional environment variable effects may be found in the utility description for the specified <i>command</i>.</p></blockquote><h4><a name="tag_04_125_09"></a>ASYNCHRONOUS EVENTS</h4><blockquote><p>Default.</p></blockquote><h4><a name="tag_04_125_10"></a>STDOUT</h4><blockquote><p>See the utility description for the specified <i>command</i>.</p></blockquote><h4><a name="tag_04_125_11"></a>STDERR</h4><blockquote><p>See the utility description for the specified <i>command</i>.</p></blockquote><h4><a name="tag_04_125_12"></a>OUTPUT FILES</h4><blockquote><p>See the utility description for the specified <i>command</i>.</p></blockquote><h4><a name="tag_04_125_13"></a>EXTENDED DESCRIPTION</h4><blockquote><p>The following pseudo-utilities shall be supported as <i>command</i> operands. All options referred to in the following list arevalues given in the <i>options</i> operands following <i>command</i>.</p><dl compact><dt><b>check</b></dt><dd>Equivalent to <b>info</b>, except that nothing shall be printed if nothing is being edited, and a non-zero exit status shall bereturned if anything is being edited. The intent is to have this included in an &quot;install&quot; entry in a makefile to ensure thateverything is included into the SCCS file before a version is installed.</dd><dt><b>clean</b></dt><dd>Remove everything from the current directory that can be recreated from SCCS files, but do not remove any files being edited.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -