1RMDEL(1P) POSIX Programmer's Manual RMDEL(1P)
2
3
4
6 This manual page is part of the POSIX Programmer's Manual. The Linux
7 implementation of this interface may differ (consult the corresponding
8 Linux manual page for details of Linux behavior), or the interface may
9 not be implemented on Linux.
10
12 rmdel - remove a delta from an SCCS file (DEVELOPMENT)
13
15 rmdel -r SID file...
16
18 The rmdel utility shall remove the delta specified by the SID from each
19 named SCCS file. The delta to be removed shall be the most recent delta
20 in its branch in the delta chain of each named SCCS file. In addition,
21 the application shall ensure that the SID specified is not that of a
22 version being edited for the purpose of making a delta; that is, if a
23 p-file (see get ) exists for the named SCCS file, the SID specified
24 shall not appear in any entry of the p-file.
25
26 Removal of a delta shall be restricted to:
27
28 1. The user who made the delta
29
30 2. The owner of the SCCS file
31
32 3. The owner of the directory containing the SCCS file
33
35 The rmdel utility shall conform to the Base Definitions volume of
36 IEEE Std 1003.1-2001, Section 12.2, Utility Syntax Guidelines.
37
38 The following option shall be supported:
39
40 -r SID
41 Specify the SCCS identification string ( SID) of the delta to be
42 deleted.
43
44
46 The following operand shall be supported:
47
48 file A pathname of an existing SCCS file or a directory. If file is a
49 directory, the rmdel utility shall behave as though each file in
50 the directory were specified as a named file, except that non-
51 SCCS files (last component of the pathname does not begin with
52 s.) and unreadable files shall be silently ignored.
53
54 If exactly one file operand appears, and it is '-', the standard input
55 shall be read; each line of the standard input is taken to be the name
56 of an SCCS file to be processed. Non-SCCS files and unreadable files
57 shall be silently ignored.
58
59
61 The standard input shall be a text file used only when the file operand
62 is specified as '-' . Each line of the text file shall be interpreted
63 as an SCCS pathname.
64
66 The SCCS files shall be files of unspecified format.
67
69 The following environment variables shall affect the execution of
70 rmdel:
71
72 LANG Provide a default value for the internationalization variables
73 that are unset or null. (See the Base Definitions volume of
74 IEEE Std 1003.1-2001, Section 8.2, Internationalization Vari‐
75 ables for the precedence of internationalization variables used
76 to determine the values of locale categories.)
77
78 LC_ALL If set to a non-empty string value, override the values of all
79 the other internationalization variables.
80
81 LC_CTYPE
82 Determine the locale for the interpretation of sequences of
83 bytes of text data as characters (for example, single-byte as
84 opposed to multi-byte characters in arguments and input files).
85
86 LC_MESSAGES
87 Determine the locale that should be used to affect the format
88 and contents of diagnostic messages written to standard error.
89
90 NLSPATH
91 Determine the location of message catalogs for the processing of
92 LC_MESSAGES .
93
94
96 Default.
97
99 Not used.
100
102 The standard error shall be used only for diagnostic messages.
103
105 The SCCS files shall be files of unspecified format. During processing
106 of a file, a temporary x-file, as described in admin, may be created
107 and deleted; a locking z-file, as described in get, may be created and
108 deleted.
109
111 None.
112
114 The following exit values shall be returned:
115
116 0 Successful completion.
117
118 >0 An error occurred.
119
120
122 Default.
123
124 The following sections are informative.
125
127 None.
128
130 None.
131
133 None.
134
136 None.
137
139 admin, delta, get, prs
140
142 Portions of this text are reprinted and reproduced in electronic form
143 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
144 -- Portable Operating System Interface (POSIX), The Open Group Base
145 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
146 Electrical and Electronics Engineers, Inc and The Open Group. In the
147 event of any discrepancy between this version and the original IEEE and
148 The Open Group Standard, the original IEEE and The Open Group Standard
149 is the referee document. The original Standard can be obtained online
150 at http://www.opengroup.org/unix/online.html .
151
152
153
154IEEE/The Open Group 2003 RMDEL(1P)