isposix

Un outil pour savoir si une commande est posix - retour accueil

git clone git://bebou.netlib.re/isposix
Log | Files | Refs | README |

rmdel.html (10564B)


      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>rmdel</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/rm.html" accesskey="P">&lt;&lt;&lt;
     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/rmdir.html" accesskey="N">Next
     19 &gt;&gt;&gt;</a></td>
     20 </tr>
     21 </table>
     22 <hr align="left" width="100%"></div>
     23 <script language="JavaScript" src="../jscript/codes.js"></script><basefont size="3">
     24 <center><font size="2">The Open Group Base Specifications Issue 8<br>
     25 IEEE Std 1003.1-2024<br>
     26 Copyright © 2001-2024 The IEEE and The Open Group</font></center>
     27 <hr size="2" noshade>
     28 <a name="top" id="top"></a> <a name="rmdel" id="rmdel"></a> <a name="tag_20_105" id="tag_20_105"></a><!-- rmdel -->
     29 <h4 class="mansect"><a name="tag_20_105_01" id="tag_20_105_01"></a>NAME</h4>
     30 <blockquote>rmdel — remove a delta from an SCCS file (<b>DEVELOPMENT</b>)</blockquote>
     31 <h4 class="mansect"><a name="tag_20_105_02" id="tag_20_105_02"></a>SYNOPSIS</h4>
     32 <blockquote class="synopsis">
     33 <div class="box"><code><tt><sup>[<a href="javascript:open_code('XSI')">XSI</a>]</sup> <img src="../images/opt-start.gif" alt=
     34 "[Option Start]" border="0"> rmdel -r</tt> <i>SID file</i><tt>... <img src="../images/opt-end.gif" alt="[Option End]" border=
     35 "0"></tt></code></div>
     36 </blockquote>
     37 <h4 class="mansect"><a name="tag_20_105_03" id="tag_20_105_03"></a>DESCRIPTION</h4>
     38 <blockquote>
     39 <p>The <i>rmdel</i> utility shall remove the delta specified by the SID from each named SCCS file. The delta to be removed shall be
     40 the most recent delta in its branch in the delta chain of each named SCCS file. In addition, the application shall ensure that the
     41 SID specified is not that of a version being edited for the purpose of making a delta; that is, if a <i>p-file</i> (see <a href=
     42 "../utilities/get.html#"><i>get</i></a> ) exists for the named SCCS file, the SID specified shall not appear in any entry of the
     43 <i>p-file</i>.</p>
     44 <p>Removal of a delta shall be restricted to:</p>
     45 <ol>
     46 <li>
     47 <p>The user who made the delta</p>
     48 </li>
     49 <li>
     50 <p>The owner of the SCCS file</p>
     51 </li>
     52 <li>
     53 <p>The owner of the directory containing the SCCS file</p>
     54 </li>
     55 </ol>
     56 </blockquote>
     57 <h4 class="mansect"><a name="tag_20_105_04" id="tag_20_105_04"></a>OPTIONS</h4>
     58 <blockquote>
     59 <p>The <i>rmdel</i> utility shall conform to XBD <a href="../basedefs/V1_chap12.html#tag_12_02"><i>12.2 Utility Syntax
     60 Guidelines</i></a> .</p>
     61 <p>The following option shall be supported:</p>
     62 <dl compact>
     63 <dd></dd>
     64 <dt><b>-r&nbsp;</b><i>SID</i></dt>
     65 <dd>Specify the SCCS identification string (<i>SID</i>) of the delta to be deleted.</dd>
     66 </dl>
     67 </blockquote>
     68 <h4 class="mansect"><a name="tag_20_105_05" id="tag_20_105_05"></a>OPERANDS</h4>
     69 <blockquote>
     70 <p>The following operand shall be supported:</p>
     71 <dl compact>
     72 <dd></dd>
     73 <dt><i>file</i></dt>
     74 <dd>A pathname of an existing SCCS file or a directory. If <i>file</i> is a directory, the <i>rmdel</i> utility shall behave as
     75 though each file in the directory were specified as a named file, except that non-SCCS files (last component of the pathname does
     76 not begin with <b>s.</b>) and unreadable files shall be silently ignored.
     77 <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
     78 input is taken to be the name of an SCCS file to be processed. Non-SCCS files and unreadable files shall be silently ignored.</p>
     79 </dd>
     80 </dl>
     81 </blockquote>
     82 <h4 class="mansect"><a name="tag_20_105_06" id="tag_20_105_06"></a>STDIN</h4>
     83 <blockquote>
     84 <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
     85 text file shall be interpreted as an SCCS pathname.</p>
     86 </blockquote>
     87 <h4 class="mansect"><a name="tag_20_105_07" id="tag_20_105_07"></a>INPUT FILES</h4>
     88 <blockquote>
     89 <p>The SCCS files shall be files of unspecified format.</p>
     90 </blockquote>
     91 <h4 class="mansect"><a name="tag_20_105_08" id="tag_20_105_08"></a>ENVIRONMENT VARIABLES</h4>
     92 <blockquote>
     93 <p>The following environment variables shall affect the execution of <i>rmdel</i>:</p>
     94 <dl compact>
     95 <dd></dd>
     96 <dt><i>LANG</i></dt>
     97 <dd>Provide a default value for the internationalization variables that are unset or null. (See XBD <a href=
     98 "../basedefs/V1_chap08.html#tag_08_02"><i>8.2 Internationalization Variables</i></a> for the precedence of internationalization
     99 variables used to determine the values of locale categories.)</dd>
    100 <dt><i>LC_ALL</i></dt>
    101 <dd>If set to a non-empty string value, override the values of all the other internationalization variables.</dd>
    102 <dt><i>LC_CTYPE</i></dt>
    103 <dd>Determine the locale for the interpretation of sequences of bytes of text data as characters (for example, single-byte as
    104 opposed to multi-byte characters in arguments and input files).</dd>
    105 <dt><i>LC_MESSAGES</i></dt>
    106 <dd><br>
    107 Determine the locale that should be used to affect the format and contents of diagnostic messages written to standard error.</dd>
    108 <dt><i>NLSPATH</i></dt>
    109 <dd>Determine the location of messages objects and message catalogs.</dd>
    110 </dl>
    111 </blockquote>
    112 <h4 class="mansect"><a name="tag_20_105_09" id="tag_20_105_09"></a>ASYNCHRONOUS EVENTS</h4>
    113 <blockquote>
    114 <p>Default.</p>
    115 </blockquote>
    116 <h4 class="mansect"><a name="tag_20_105_10" id="tag_20_105_10"></a>STDOUT</h4>
    117 <blockquote>
    118 <p>Not used.</p>
    119 </blockquote>
    120 <h4 class="mansect"><a name="tag_20_105_11" id="tag_20_105_11"></a>STDERR</h4>
    121 <blockquote>
    122 <p>The standard error shall be used only for diagnostic messages.</p>
    123 </blockquote>
    124 <h4 class="mansect"><a name="tag_20_105_12" id="tag_20_105_12"></a>OUTPUT FILES</h4>
    125 <blockquote>
    126 <p>The SCCS files shall be files of unspecified format. During processing of a <i>file</i>, a temporary <i>x-file</i>, as described
    127 in <a href="../utilities/admin.html#"><i>admin</i></a> , may be created and deleted; a locking <i>z-file</i>, as described in
    128 <a href="../utilities/get.html#"><i>get</i></a> , may be created and deleted.</p>
    129 </blockquote>
    130 <h4 class="mansect"><a name="tag_20_105_13" id="tag_20_105_13"></a>EXTENDED DESCRIPTION</h4>
    131 <blockquote>
    132 <p>None.</p>
    133 </blockquote>
    134 <h4 class="mansect"><a name="tag_20_105_14" id="tag_20_105_14"></a>EXIT STATUS</h4>
    135 <blockquote>
    136 <p>The following exit values shall be returned:</p>
    137 <dl compact>
    138 <dd></dd>
    139 <dt>&nbsp;0</dt>
    140 <dd>Successful completion.</dd>
    141 <dt>&gt;0</dt>
    142 <dd>An error occurred.</dd>
    143 </dl>
    144 </blockquote>
    145 <h4 class="mansect"><a name="tag_20_105_15" id="tag_20_105_15"></a>CONSEQUENCES OF ERRORS</h4>
    146 <blockquote>
    147 <p>Default.</p>
    148 </blockquote>
    149 <hr>
    150 <div class="box"><em>The following sections are informative.</em></div>
    151 <h4 class="mansect"><a name="tag_20_105_16" id="tag_20_105_16"></a>APPLICATION USAGE</h4>
    152 <blockquote>
    153 <p>None.</p>
    154 </blockquote>
    155 <h4 class="mansect"><a name="tag_20_105_17" id="tag_20_105_17"></a>EXAMPLES</h4>
    156 <blockquote>
    157 <p>None.</p>
    158 </blockquote>
    159 <h4 class="mansect"><a name="tag_20_105_18" id="tag_20_105_18"></a>RATIONALE</h4>
    160 <blockquote>
    161 <p>None.</p>
    162 </blockquote>
    163 <h4 class="mansect"><a name="tag_20_105_19" id="tag_20_105_19"></a>FUTURE DIRECTIONS</h4>
    164 <blockquote>
    165 <p>If this utility is directed to create a new directory entry that contains any bytes that have the encoded value of a
    166 &lt;newline&gt; character, implementations are encouraged to treat this as an error. A future version of this standard may require
    167 implementations to treat this as an error.</p>
    168 </blockquote>
    169 <h4 class="mansect"><a name="tag_20_105_20" id="tag_20_105_20"></a>SEE ALSO</h4>
    170 <blockquote>
    171 <p><a href="../utilities/admin.html#"><i>admin</i></a> , <a href="../utilities/delta.html#"><i>delta</i></a> , <a href=
    172 "../utilities/get.html#"><i>get</i></a> , <a href="../utilities/prs.html#"><i>prs</i></a></p>
    173 <p>XBD <a href="../basedefs/V1_chap08.html#tag_08"><i>8. Environment Variables</i></a> , <a href=
    174 "../basedefs/V1_chap12.html#tag_12_02"><i>12.2 Utility Syntax Guidelines</i></a></p>
    175 </blockquote>
    176 <h4 class="mansect"><a name="tag_20_105_21" id="tag_20_105_21"></a>CHANGE HISTORY</h4>
    177 <blockquote>
    178 <p>First released in Issue 2.</p>
    179 </blockquote>
    180 <h4 class="mansect"><a name="tag_20_105_22" id="tag_20_105_22"></a>Issue 6</h4>
    181 <blockquote>
    182 <p>The normative text is reworded to avoid use of the term &quot;must&quot; for application requirements.</p>
    183 </blockquote>
    184 <h4 class="mansect"><a name="tag_20_105_23" id="tag_20_105_23"></a>Issue 8</h4>
    185 <blockquote>
    186 <p>Austin Group Defect 251 is applied, encouraging implementations to disallow the creation of filenames containing any bytes that
    187 have the encoded value of a &lt;newline&gt; character.</p>
    188 <p>Austin Group Defect 1122 is applied, changing the description of <i>NLSPATH .</i></p>
    189 </blockquote>
    190 <div class="box"><em>End of informative text.</em></div>
    191 <hr>
    192 <p>&nbsp;</p>
    193 <a href="#top"><span class="topOfPage">return to top of page</span></a><br>
    194 <hr size="2" noshade>
    195 <center><font size="2">UNIX® is a registered Trademark of The Open Group.<br>
    196 POSIX™ is a Trademark of The IEEE.<br>
    197 Copyright © 2001-2024 The IEEE and The Open Group, All Rights Reserved<br>
    198 [ <a href="../mindex.html">Main Index</a> | <a href="../basedefs/contents.html">XBD</a> | <a href=
    199 "../functions/contents.html">XSH</a> | <a href="../utilities/contents.html">XCU</a> | <a href="../xrat/contents.html">XRAT</a>
    200 ]</font></center>
    201 <hr size="2" noshade>
    202 <div class="NAVHEADER">
    203 <table summary="Header navigation table" class="nav" width="100%" border="0" cellpadding="0" cellspacing="0">
    204 <tr class="nav">
    205 <td class="nav" width="15%" align="left" valign="bottom"><a href="../utilities/rm.html" accesskey="P">&lt;&lt;&lt;
    206 Previous</a></td>
    207 <td class="nav" width="70%" align="center" valign="bottom"><a href="contents.html">Home</a></td>
    208 <td class="nav" width="15%" align="right" valign="bottom"><a href="../utilities/rmdir.html" accesskey="N">Next
    209 &gt;&gt;&gt;</a></td>
    210 </tr>
    211 </table>
    212 <hr align="left" width="100%"></div>
    213 </body>
    214 </html>