delta(1)delta(1)Namedelta - create new SCCS delta to save changes
Syntaxdelta [-rSID] [-s] [-n] [-glist] [-m[mrlist]] [-y[comment]] [-p] files
The command is used to permanently introduce into the named SCCS file
changes that were made to the file retrieved by (called the g-file, or
The command makes a delta to each named SCCS file. If a directory is
named, behaves as though each file in the directory were specified as a
named file, except that non-SCCS files (last component of the path name
does not begin with s.) and unreadable files are silently ignored. If
a name of - is given, the standard input is read (see RESTRICTIONS);
each line of the standard input is taken to be the name of an SCCS file
to be processed.
The command may issue prompts on the standard output depending upon
certain keyletters specified and flags that may be present in the SCCS
file. For further information, see -m and -y keyletters below and
The includes commentary, input by the user, that consists of one or
more lines, terminated by a period (.) in column one of a new line.
Keyletter arguments apply independently to each named file.
-glist Ignores specified list of deltas.
-m[mrlist] Indicates the modification request number.
If -m is not used and the standard input is a ter‐
minal, the prompt MRs? is issued on the standard
output before the standard input is read; if the
standard input is not a terminal, no prompt is
issued. The MRs? prompt always precedes the com‐
ments? prompt (see -y keyletter).
MRs in a list are separated by blanks and/or tab
characters. An unescaped new-line character termi‐
nates the MR list.
Note that if the v flag has a value it is taken to
be the name of a program (or shell procedure) which
will validate the correctness of the MR numbers.
For further information, see If a non-zero exit
status is returned from MR number validation pro‐
gram, terminates (it is assumed that the MR numbers
were not all valid).
-n Does not delete edited file.
-p Displays differences before and after delta is
-rSID Identifies which delta is to be made to the SCCS
file. Use this keyletter only if two or more out‐
standing gets for editing (get -e) on the same SCCS
file has been done by the same person (login name).
The SID value specified with the -r keyletter can
be either the SID specified on the command line or
the SID to be made as reported by the command. For
further information, see A diagnostic results if
the specified SID is ambiguous, or, if necessary
and omitted on the command line.
-s Suppresses all messages.
-y[comment] Creates delta with specified commentary. text A
null string is considered a valid comment.
If -y is not specified and the standard input is a
terminal, the prompt comments? is issued on the
standard output before the standard input is read;
if the standard input is not a terminal, no prompt
is issued. A period (.) in column one of a newline
terminates the comment text.
Lines beginning with an SOH ASCII character (binary 001) cannot be
placed in the SCCS file unless the SOH is escaped. This character has
special meaning to SCCS and will cause an error. For further informa‐
A of many SCCS files, followed by a of those files, should be avoided
when the generates a large amount of data. Instead, multiple sequences
should be used.
If the standard input (-) is specified on the command line, the -m (if
necessary) and -y keyletters must also be present. Omission of these
keyletters causes an error to occur.
See for explanations.
g-file Existed before the execution of removed after com‐
p-file Existed before the execution of delta; may exist
after completion of
q-file Created during the execution of removed after com‐
x-file Created during the execution of renamed to SCCS
file after completion of
z-file Created during the execution of removed during the
d-file Created during the execution of removed after com‐
/usr/bin/bdiff Program to compute differences between the ``got‐
ten'' file and the g-file.
See Alsoadmin(1), bdiff(1), cdc(1), get(1), help(1), prs(1), rmdel(1), sccs(1),
Guide to the Source Code Control System