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