Intel XENIX 286 Programmers Guide (86) - Tenox.tc
Intel XENIX 286 Programmers Guide (86) - Tenox.tc Intel XENIX 286 Programmers Guide (86) - Tenox.tc
XENIX Programming Programming Commands admin - Syntax Creates and adm inisters SCCS files. admin [-n] [-i[ name ] ] [-rrel] [-t[ name ] ] [-ff/ag[f/ag-va/] ] [-dflag[flag-val] ] [-a/ogin] [-e/ogin] [-m[ mrlist ] 1 [-y[ comment 1 1 [-h1 [-z1 file ... Description admin is used to create new SCCS (source code control system) files and change parameters of existing ones. Argu ments to admin may appear in any order. They consist of options, which begin with a dash (-), and named files. (Note that sees file names must begin with the characters "s.".) If a named file does not exist, it is created, and its parameters are initialized according to the specified options. Parameters not initialized by an option are assigned a default value. If a named file does exist, parameters corresponding to specified options are changed, and other parameters are left as is. If a directory is named, admin behaves as though each file in the directory were specified as a named file, except that non-SCCS files (the last component of whose path names does not begin with s.) and unreadable files are silently ignored. If the dash is given, the standard input is read; each line of the standard input is taken to be the name of an sees file to be processed. Again, non-sees files and unreadable files are silently ignored. The options are as follows. Each is explained as though only one named file is to be processed since the effects of the arguments apply independently to each named file. -n This option indicates that a new sees file is to be created. -i[ name ] The name of a file from which the text for a new SCCS file is to be taken. The text constitutes the first delta of the file. (See the description of the -r option, which follows, for the delta nu mbering scheme.) If the i option is used but the file name is omitted, the text is obtained by reading the standard input until an endof-file is encountered. If this option is omitted, then the SCCS file is created empty. Only one sees file may be created by an admin command on which the -i option is supplied. Using a single admin to create two or more SCCS files requires that they be created empty (no -i option). Note that the -i option implies the -n option. -rrel The release into which the initial delta is inserted. This option may be used only if the -i option is also used. If the -r option is not used, the initial delta is inserted into release 1. The level of the initial delta is always 1. (By default, initial deltas are named 1.1.) B- 11
Programming Commands XENIX Programming admin (continued) -t[ name ] The name of a file from which descriptive text for the SCCS file is to be taken. If the -t option is used and admin is creating a new sees file {the -n and/or -i options are also used), the descriptive text file name must also be supplied. In the case of existing SCCS files, a -t option without a file name causes removal of descriptive text (if any) currently in the sees file, and a -t option with a file name causes text {if any) in the named file to replace the descriptive text (if any) currently in the sees file. -fflag[ flag-val ] This option specifies a flag, and possibly a value for the flag, to be placed in the sees file. Several f options may be supplied on a single admin command line. The allowable flag and flag-val combinations are B-12 b Allows use of the -b option on a get command to create branch deltas. cceiZ The highest release {or "ceiling"), a nu mber less than or equal to 9999, that may be retrieved by a get command for editing. The default value for an unspecified c flag is 9999. ffloor The lowest release {or "floor"), a number greater than 0 but less than 9999, that may be retrieved by a get command for editing. The default value for an unspecified f flag is 1. dSID The default delta nu mber {SID, or SCCS ident ification) to be used by a get command. Causes the "No id keywords {ge6)" message issued by get or delta to be treated as a fatal error. In the absence of this flag, the message is only a warning. The message is issued if no SCCS identification keywords {see get later in this appendix) are found in the text retrieved or stored in the sees file. j Allows concurrent get commands for editing on the same SID of an sees file. This allows multiple concurrent updates to the same version of the sees file. llist A list of releases to which deltas can no longer be made. (A get -e against one of these "locked" releases fails.) A list is one or more list items separated by commas. A list item is either a release number or the letter "a" {to indicate all releases for the file).
- Page 226 and 227: XENIX Programming yacc: Compiler-Co
- Page 228 and 229: XENIX Programming yacc: Compiler-Co
- Page 230 and 231: XENIX Programming yacc: Compiler-Co
- Page 232 and 233: XENIX Programming yacc: Compiler-Co
- Page 234 and 235: XENIX Programming yacc: Compiler-Co
- Page 236 and 237: XENIX Programming %left %left %left
- Page 238 and 239: XENIX Programming I* lexical analys
- Page 240: XENIX Programming yacc: Compiler-Co
- Page 243 and 244: m4: Macro Processor XENIX Programmi
- Page 245 and 246: m4: Macro Processor XENIX Programmi
- Page 247 and 248: m4: Macro Processor XENIX Programm
- Page 249 and 250: m4: Macro Processor XENIX Programmi
- Page 251 and 252: m4: Macro Processor XENIX Programmi
- Page 253 and 254: C Language Portability XENIX Progra
- Page 255 and 256: C Language Portability XENIX Progra
- Page 257 and 258: C Language Portability XENIX Progra
- Page 259 and 260: C Language Portability XENIX Progra
- Page 261 and 262: C Language Portability XENIX Progra
- Page 263 and 264: C Language Portability XENIX Progra
- Page 266 and 267: APPENDIX B PROG RAMMING COMMANDS Th
- Page 268 and 269: XENIX Programming ad b (continued)
- Page 270 and 271: XENIX Programming Programming Comma
- Page 272 and 273: XENIX Programming Programming Comma
- Page 274 and 275: XENIX Programming Programming Comma
- Page 278 and 279: XENIX Programming Programming Comma
- Page 280 and 281: XENIX Programming Programming Comma
- Page 282 and 283: XENIX Programming Programming Comma
- Page 284 and 285: XENIX Programming as (continued) Fi
- Page 286 and 287: XENIX Programming Programming Comma
- Page 288 and 289: XENIX Programming Programming Comma
- Page 290 and 291: XENIX Programming Programm ing Comm
- Page 292 and 293: XENIX Programming Programming Comma
- Page 294 and 295: XENIX Programming Programming Comma
- Page 296 and 297: XENIX Programming Programm ing Comm
- Page 298 and 299: XENIX Programming Programming Comma
- Page 300 and 301: XENIX Programming Programming Comma
- Page 302 and 303: XENIX Programming Programming Comma
- Page 304 and 305: XENIX Programming Programming Comma
- Page 306 and 307: XENIX Programming Programming Comma
- Page 308 and 309: XENIX Programming Programming Comma
- Page 310 and 311: XENIX Programming Programming Comma
- Page 312 and 313: XENIX Programming Programming Comma
- Page 314 and 315: XENIX Programm ing Programming Comm
- Page 316 and 317: XENIX Programming Programming Comma
- Page 318 and 319: XENIX Programming Programming Comma
- Page 320 and 321: XENIX Programming Programming Comma
- Page 322 and 323: XENIX Programming Programming Comma
- Page 324 and 325: XENIX Programming Programming Comma
<strong>XENIX</strong> Programming Programming Commands<br />
admin -<br />
Syntax<br />
Creates and adm inisters SCCS files.<br />
admin [-n] [-i[ name ] ] [-rrel] [-t[ name ] ] [-ff/ag[f/ag-va/] ]<br />
[-dflag[flag-val] ] [-a/ogin] [-e/ogin] [-m[ mrlist ] 1<br />
[-y[ comment 1 1 [-h1 [-z1 file ...<br />
Description<br />
admin is used to create new SCCS (source code control system) files and change<br />
parameters of existing ones. Argu ments to admin may appear in any order. They<br />
consist of options, which begin with a dash (-), and named files. (Note that sees file<br />
names must begin with the characters "s.".) If a named file does not exist, it is created,<br />
and its parameters are initialized according to the specified options. Parameters not<br />
initialized by an option are assigned a default value. If a named file does exist,<br />
parameters corresponding to specified options are changed, and other parameters are<br />
left as is.<br />
If a directory is named, admin behaves as though each file in the directory were<br />
specified as a named file, except that non-SCCS files (the last component of whose path<br />
names does not begin with s.) and unreadable files are silently ignored. If the dash is<br />
given, the standard input is read; each line of the standard input is taken to be the name<br />
of an sees file to be processed. Again, non-sees files and unreadable files are silently<br />
ignored.<br />
The options are as follows. Each is explained as though only one named file is to be<br />
processed since the effects of the arguments apply independently to each named file.<br />
-n This option indicates that a new sees file is to be created.<br />
-i[ name ]<br />
The name of a file from which the text for a new SCCS file is to be taken. The<br />
text constitutes the first delta of the file. (See the description of the -r option,<br />
which follows, for the delta nu mbering scheme.) If the i option is used but the file<br />
name is omitted, the text is obtained by reading the standard input until an endof-file<br />
is encountered. If this option is omitted, then the SCCS file is created<br />
empty. Only one sees file may be created by an admin command on which the -i<br />
option is supplied. Using a single admin to create two or more SCCS files requires<br />
that they be created empty (no -i option). Note that the -i option implies the -n<br />
option.<br />
-rrel<br />
The release into which the initial delta is inserted. This option may be used only if<br />
the -i option is also used. If the -r option is not used, the initial delta is inserted<br />
into release 1. The level of the initial delta is always 1. (By default, initial deltas<br />
are named 1.1.)<br />
B- 11