|HP-UX Reference > D
delta(1)HP-UX 11i Version 3: February 2007
delta — make a delta (change) to an SCCS file
The delta command is used to permanently introduce into the named SCCS file changes that were made to the file retrieved by get (called the g-file, or generated file). See get(1).
delta makes a delta to each named SCCS file. If a directory is named, delta behaves as though each file in the directory was 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 WARNINGS). Each line of the standard input is taken to be the name of an SCCS file to be processed.
delta may issue prompts on the standard output, depending upon certain options specified and flags (see admin(1)) that may be present in the SCCS file (see the -m and -y options below).
Option arguments apply independently to each named file.
LC_CTYPE determines the interpretation of text as single- and/or multi-byte characters.
LC_MESSAGES determines the language in which messages are displayed.
If LC_CTYPE or LC_MESSAGES is not specified in the environment or is set to the empty string, the value of LANG is used as a default for each unspecified or empty variable. If LANG is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of LANG. If any internationalization variable contains an invalid setting, delta behaves as if all internationalization variables are set to "C". See environ(5).
Use sccshelp(1) for explanations.
SCCS files can be any length, but the number of lines in the text file itself cannot exceed 99999 lines.
Lines beginning with an ASCII SOH character (octal 001) cannot be placed in the SCCS file unless the SOH is escaped. This character has special meaning to SCCS (see sccsfile(4)) and will cause an error.
A get of many SCCS files, followed by a delta of those files, should be avoided when the get generates a large amount of data. Instead, multiple get/delta sequences should be used.
If the standard input (-) is specified on the delta command line, the -m (if necessary) and -y options must also be present. Omission of these options causes an error.
Comments can be of multiple lines. The maximum length of the comment (total length of all comment lines) cannot exceed 1024 bytes. No line in a comment should have a length of more than 1000 bytes.
All of the auxiliary files listed below, except for the g-file, are created in the same directory as the s-file (see get(1)). The g-file is created in the user's working directory.
admin(1), bdiff(1), cdc(1), get(1), sccshelp(1), prs(1), rmdel(1), sccsfile(4).