Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rmdel(1) [osf1 man page]

rmdel(1)						      General Commands Manual							  rmdel(1)

NAME
rmdel - Removes a delta from a Source Code Control System (SCCS) file SYNOPSIS
rmdel -r SID file... | - STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: rmdel: XCU5.0 Refer to the standards(5) reference page for more information about industry standards and associated tags. OPTIONS
Removes the delta SID from the SCCS file. This flag is required. OPERANDS
Path name of an existing SCCS file from which you want to remove the delta. If you specify a directory in place of file, rmdel performs the requested actions on all SCCS files (those with file names that have the s. prefix). If you specify a - (dash) in place of file, rmdel reads standard input, and interprets each line as the name of an SCCS file. The rmdel command continues to take input until it reads an End-of-File character. DESCRIPTION
The rmdel command removes the delta specified by SID from each named SCCS file. You can remove only the most recently created delta in a branch, or the latest trunk delta if it has no branches. In addition, the SID you specify must not be a version currently being edited for the purpose of making a delta. To remove a delta, you must either own the SCCS file and the directory, or you must be the user who created the delta you want to remove. EXIT STATUS
The rmdel command returns the following exit values: Successful completion. An error occurred. EXAMPLES
To remove delta 1.3 from the SCCS file s.test.c, enter: rmdel -r 1.3 s.test.c ENVIRONMENT VARIABLES
The following environment variables affect the execution of rmdel: Provides a default value for the internationalization variables that are unset or null. If LANG is unset or null, the corresponding value from the default locale is used. If any of the internationalization vari- ables contain an invalid setting, the utility behaves as if none of the variables had been defined. If set to a non-empty string value, overrides the values of all the other internationalization variables. Determines the locale for the interpretation of sequences of bytes of text data as characters (for example, single-byte as opposed to multibyte characters in arguments and input files). Determines the locale for the format and contents of diagnostic messages written to standard error. Determines the location of message catalogues for the processing of LC_MESSAGES. SEE ALSO
Commands: admin(1), cdc(1), comb(1), delta(1), get(1), prs(1), rmdel(1), sact(1), sccs(1), sccsdiff(1), sccshelp(1), unget(1), val(1), what(1) Files: sccsfile(4) Standards: standards(5) Programming Support Tools rmdel(1)

Check Out this Related Man Page

sccs-rmdel(1)                                                      User Commands                                                     sccs-rmdel(1)

NAME
sccs-rmdel, rmdel - remove a delta from an SCCS file SYNOPSIS
/usr/ccs/bin/rmdel -rsid s.filename... DESCRIPTION
The rmdel utility removes the delta specified by the SCCS delta ID (SID) supplied with -r. The delta to be removed must be the most recent (leaf) delta in its branch. In addition, the SID must not be that of a version checked out for editing: it must not appear in any entry of the version lock file (p.file). If you created the delta, or, if you own the file and directory and have write permission, you can remove it with rmdel. If a directory name is used in place of the s.filename argument, the rmdel command applies to all s.files in that directory. Unreadable s.files produce an error; processing continues with the next file (if any). The use of `-' as the s.filename argument indicates that the names of files are to be read from the standard input, one s.file per line. OPTIONS
The following option is supported: -rsid Remove the version corresponding to the indicated SID (delta). ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of rmdel: LANG, LC_ALL, LC_CTYPE, LC_MES- SAGES, and NLSPATH. FILES
p.file permissions file s.file history file z.file temporary copy of the s.file ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsprot | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ SEE ALSO
sccs(1), sccs-admin(1), sccs-cdc(1), sccs-comb(1), sccs-delta(1), sccs-help(1), sccs-prs(1), sccs-prt(1), sccs-sccsdiff(1), sccs-unget(1), what(1), sccsfile(4), attributes(5), environ(5), standards(5) DIAGNOSTICS
Use the SCCS help command for explanations (see sccs-help(1)). SunOS 5.10 1 Nov 1999 sccs-rmdel(1)
Man Page