Un outil pour savoir si une commande est posix - retour accueil
git clone git://bebou.netlib.re/isposix
Log | Files | Refs | README |
sact.html (10986B)
1 <!-- Copyright 2001-2024 IEEE and The Open Group, All Rights Reserved --> 2 <!DOCTYPE HTML> 3 <html lang="en"> 4 <head> 5 <meta name="generator" content="HTML Tidy for HTML5 for Linux version 5.8.0"> 6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 7 <link type="text/css" rel="stylesheet" href="style.css"><!-- Generated by The Open Group rhtm tool v1.2.4 --> 8 <!-- Copyright (c) 2001-2024 The Open Group, All Rights Reserved --> 9 <title>sact</title> 10 </head> 11 <body bgcolor="white"> 12 <div class="NAVHEADER"> 13 <table summary="Header navigation table" class="nav" width="100%" border="0" cellpadding="0" cellspacing="0"> 14 <tr class="nav"> 15 <td class="nav" width="15%" align="left" valign="bottom"><a href="../utilities/rmdir.html" accesskey="P"><<< 16 Previous</a></td> 17 <td class="nav" width="70%" align="center" valign="bottom"><a href="contents.html">Home</a></td> 18 <td class="nav" width="15%" align="right" valign="bottom"><a href="../utilities/sccs.html" accesskey="N">Next >>></a></td> 19 </tr> 20 </table> 21 <hr align="left" width="100%"></div> 22 <script language="JavaScript" src="../jscript/codes.js"></script><basefont size="3"> 23 <center><font size="2">The Open Group Base Specifications Issue 8<br> 24 IEEE Std 1003.1-2024<br> 25 Copyright © 2001-2024 The IEEE and The Open Group</font></center> 26 <hr size="2" noshade> 27 <a name="top" id="top"></a> <a name="sact" id="sact"></a> <a name="tag_20_107" id="tag_20_107"></a><!-- sact --> 28 <h4 class="mansect"><a name="tag_20_107_01" id="tag_20_107_01"></a>NAME</h4> 29 <blockquote>sact — print current SCCS file-editing activity (<b>DEVELOPMENT</b>)</blockquote> 30 <h4 class="mansect"><a name="tag_20_107_02" id="tag_20_107_02"></a>SYNOPSIS</h4> 31 <blockquote class="synopsis"> 32 <div class="box"><code><tt><sup>[<a href="javascript:open_code('XSI')">XSI</a>]</sup> <img src="../images/opt-start.gif" alt= 33 "[Option Start]" border="0"> sact</tt> <i>file</i><tt>... <img src="../images/opt-end.gif" alt="[Option End]" border= 34 "0"></tt></code></div> 35 </blockquote> 36 <h4 class="mansect"><a name="tag_20_107_03" id="tag_20_107_03"></a>DESCRIPTION</h4> 37 <blockquote> 38 <p>The <i>sact</i> utility shall inform the user of any impending deltas to a named SCCS file by writing a list to standard output. 39 This situation occurs when <a href="../utilities/get.html"><i>get</i></a> <b>-e</b> has been executed previously without a 40 subsequent execution of <a href="../utilities/delta.html"><i>delta</i></a>, <a href="../utilities/unget.html"><i>unget</i></a>, or 41 <a href="../utilities/sccs.html"><i>sccs</i></a> <b>unedit</b>.</p> 42 </blockquote> 43 <h4 class="mansect"><a name="tag_20_107_04" id="tag_20_107_04"></a>OPTIONS</h4> 44 <blockquote> 45 <p>None.</p> 46 </blockquote> 47 <h4 class="mansect"><a name="tag_20_107_05" id="tag_20_107_05"></a>OPERANDS</h4> 48 <blockquote> 49 <p>The following operand shall be supported:</p> 50 <dl compact> 51 <dd></dd> 52 <dt><i>file</i></dt> 53 <dd>A pathname of an existing SCCS file or a directory. If <i>file</i> is a directory, the <i>sact</i> utility shall behave as 54 though each file in the directory were specified as a named file, except that non-SCCS files (last component of the pathname does 55 not begin with <b>s.</b>) and unreadable files shall be silently ignored. 56 <p>If exactly one <i>file</i> operand appears, and it is <tt>'-'</tt>, the standard input shall be read; each line of the standard 57 input shall be taken to be the name of an SCCS file to be processed. Non-SCCS files and unreadable files shall be silently 58 ignored.</p> 59 </dd> 60 </dl> 61 </blockquote> 62 <h4 class="mansect"><a name="tag_20_107_06" id="tag_20_107_06"></a>STDIN</h4> 63 <blockquote> 64 <p>The standard input shall be a text file used only when the <i>file</i> operand is specified as <tt>'-'</tt>. Each line of the 65 text file shall be interpreted as an SCCS pathname.</p> 66 </blockquote> 67 <h4 class="mansect"><a name="tag_20_107_07" id="tag_20_107_07"></a>INPUT FILES</h4> 68 <blockquote> 69 <p>Any SCCS files interrogated are files of an unspecified format.</p> 70 </blockquote> 71 <h4 class="mansect"><a name="tag_20_107_08" id="tag_20_107_08"></a>ENVIRONMENT VARIABLES</h4> 72 <blockquote> 73 <p>The following environment variables shall affect the execution of <i>sact</i>:</p> 74 <dl compact> 75 <dd></dd> 76 <dt><i>LANG</i></dt> 77 <dd>Provide a default value for the internationalization variables that are unset or null. (See XBD <a href= 78 "../basedefs/V1_chap08.html#tag_08_02"><i>8.2 Internationalization Variables</i></a> for the precedence of internationalization 79 variables used to determine the values of locale categories.)</dd> 80 <dt><i>LC_ALL</i></dt> 81 <dd>If set to a non-empty string value, override the values of all the other internationalization variables.</dd> 82 <dt><i>LC_CTYPE</i></dt> 83 <dd>Determine the locale for the interpretation of sequences of bytes of text data as characters (for example, single-byte as 84 opposed to multi-byte characters in arguments and input files).</dd> 85 <dt><i>LC_MESSAGES</i></dt> 86 <dd><br> 87 Determine the locale that should be used to affect the format and contents of diagnostic messages written to standard error.</dd> 88 <dt><i>NLSPATH</i></dt> 89 <dd>Determine the location of messages objects and message catalogs.</dd> 90 </dl> 91 </blockquote> 92 <h4 class="mansect"><a name="tag_20_107_09" id="tag_20_107_09"></a>ASYNCHRONOUS EVENTS</h4> 93 <blockquote> 94 <p>Default.</p> 95 </blockquote> 96 <h4 class="mansect"><a name="tag_20_107_10" id="tag_20_107_10"></a>STDOUT</h4> 97 <blockquote> 98 <p>The output for each named file shall consist of a line in the following format:</p> 99 <pre> 100 <tt>"%sΔ%sΔ%sΔ%sΔ%s\n", <</tt><i>SID</i><tt>>, <</tt><i>new SID</i><tt>>, <</tt><i>login</i><tt>>, <</tt><i>date</i><tt>>, <</tt><i>time</i><tt>> 101 </tt></pre> 102 <dl compact> 103 <dd></dd> 104 <dt><<i>SID</i>></dt> 105 <dd>Specifies the SID of a delta that currently exists in the SCCS file to which changes are made to make the new delta.</dd> 106 <dt><<i>new SID</i>></dt> 107 <dd>Specifies the SID for the new delta to be created.</dd> 108 <dt><<i>login</i>></dt> 109 <dd>Contains the login name of the user who makes the delta (that is, who executed a <a href="../utilities/get.html"><i>get</i></a> 110 for editing).</dd> 111 <dt><<i>date</i>></dt> 112 <dd>Contains the date that <a href="../utilities/get.html"><i>get</i></a> <b>-e</b> was executed, in the format used by the 113 <a href="../utilities/prs.html"><i>prs</i></a> <b>:D:</b> data keyword.</dd> 114 <dt><<i>time</i>></dt> 115 <dd>Contains the time that <a href="../utilities/get.html"><i>get</i></a> <b>-e</b> was executed, in the format used by the 116 <a href="../utilities/prs.html"><i>prs</i></a> <b>:T:</b> data keyword.</dd> 117 </dl> 118 <p>If there is more than one named file or if a directory or standard input is named, each pathname shall be written before each of 119 the preceding lines:</p> 120 <pre> 121 <tt>"\n%s:\n", <</tt><i>pathname</i><tt>> 122 </tt></pre></blockquote> 123 <h4 class="mansect"><a name="tag_20_107_11" id="tag_20_107_11"></a>STDERR</h4> 124 <blockquote> 125 <p>The standard error shall be used only for optional informative messages concerning SCCS files with no impending deltas, and for 126 diagnostic messages.</p> 127 </blockquote> 128 <h4 class="mansect"><a name="tag_20_107_12" id="tag_20_107_12"></a>OUTPUT FILES</h4> 129 <blockquote> 130 <p>None.</p> 131 </blockquote> 132 <h4 class="mansect"><a name="tag_20_107_13" id="tag_20_107_13"></a>EXTENDED DESCRIPTION</h4> 133 <blockquote> 134 <p>None.</p> 135 </blockquote> 136 <h4 class="mansect"><a name="tag_20_107_14" id="tag_20_107_14"></a>EXIT STATUS</h4> 137 <blockquote> 138 <p>The following exit values shall be returned:</p> 139 <dl compact> 140 <dd></dd> 141 <dt> 0</dt> 142 <dd>Successful completion.</dd> 143 <dt>>0</dt> 144 <dd>An error occurred.</dd> 145 </dl> 146 </blockquote> 147 <h4 class="mansect"><a name="tag_20_107_15" id="tag_20_107_15"></a>CONSEQUENCES OF ERRORS</h4> 148 <blockquote> 149 <p>Default.</p> 150 </blockquote> 151 <hr> 152 <div class="box"><em>The following sections are informative.</em></div> 153 <h4 class="mansect"><a name="tag_20_107_16" id="tag_20_107_16"></a>APPLICATION USAGE</h4> 154 <blockquote> 155 <p>None.</p> 156 </blockquote> 157 <h4 class="mansect"><a name="tag_20_107_17" id="tag_20_107_17"></a>EXAMPLES</h4> 158 <blockquote> 159 <p>None.</p> 160 </blockquote> 161 <h4 class="mansect"><a name="tag_20_107_18" id="tag_20_107_18"></a>RATIONALE</h4> 162 <blockquote> 163 <p>None.</p> 164 </blockquote> 165 <h4 class="mansect"><a name="tag_20_107_19" id="tag_20_107_19"></a>FUTURE DIRECTIONS</h4> 166 <blockquote> 167 <p>If this utility is directed to display a pathname that contains any bytes that have the encoded value of a <newline> 168 character when <newline> is a terminator or separator in the output format being used, implementations are encouraged to 169 treat this as an error. A future version of this standard may require implementations to treat this as an error.</p> 170 </blockquote> 171 <h4 class="mansect"><a name="tag_20_107_20" id="tag_20_107_20"></a>SEE ALSO</h4> 172 <blockquote> 173 <p><a href="../utilities/delta.html#"><i>delta</i></a> , <a href="../utilities/get.html#"><i>get</i></a> , <a href= 174 "../utilities/sccs.html#"><i>sccs</i></a> , <a href="../utilities/unget.html#"><i>unget</i></a></p> 175 <p>XBD <a href="../basedefs/V1_chap08.html#tag_08"><i>8. Environment Variables</i></a></p> 176 </blockquote> 177 <h4 class="mansect"><a name="tag_20_107_21" id="tag_20_107_21"></a>CHANGE HISTORY</h4> 178 <blockquote> 179 <p>First released in Issue 2.</p> 180 </blockquote> 181 <h4 class="mansect"><a name="tag_20_107_22" id="tag_20_107_22"></a>Issue 8</h4> 182 <blockquote> 183 <p>Austin Group Defect 251 is applied, encouraging implementations to report an error if a utility is directed to display a 184 pathname that contains any bytes that have the encoded value of a <newline> character when <newline> is a terminator or 185 separator in the output format being used.</p> 186 <p>Austin Group Defect 1122 is applied, changing the description of <i>NLSPATH .</i></p> 187 </blockquote> 188 <div class="box"><em>End of informative text.</em></div> 189 <hr> 190 <p> </p> 191 <a href="#top"><span class="topOfPage">return to top of page</span></a><br> 192 <hr size="2" noshade> 193 <center><font size="2">UNIX® is a registered Trademark of The Open Group.<br> 194 POSIX™ is a Trademark of The IEEE.<br> 195 Copyright © 2001-2024 The IEEE and The Open Group, All Rights Reserved<br> 196 [ <a href="../mindex.html">Main Index</a> | <a href="../basedefs/contents.html">XBD</a> | <a href= 197 "../functions/contents.html">XSH</a> | <a href="../utilities/contents.html">XCU</a> | <a href="../xrat/contents.html">XRAT</a> 198 ]</font></center> 199 <hr size="2" noshade> 200 <div class="NAVHEADER"> 201 <table summary="Header navigation table" class="nav" width="100%" border="0" cellpadding="0" cellspacing="0"> 202 <tr class="nav"> 203 <td class="nav" width="15%" align="left" valign="bottom"><a href="../utilities/rmdir.html" accesskey="P"><<< 204 Previous</a></td> 205 <td class="nav" width="70%" align="center" valign="bottom"><a href="contents.html">Home</a></td> 206 <td class="nav" width="15%" align="right" valign="bottom"><a href="../utilities/sccs.html" accesskey="N">Next >>></a></td> 207 </tr> 208 </table> 209 <hr align="left" width="100%"></div> 210 </body> 211 </html>