get.1 (2010 09)

g
get(1) get(1)
list ::= range list, range
range ::= SID SID - SID
SID, the SCCS Identification of a delta, can be in any form shown in the "SID
Specified" column of Table 1. Partial SIDs are interpreted as shown in the "SID
Retrieved" column of Table 1. See WARNINGS .
-xlist A list of deltas to be excluded (forced not to be applied) in the creation of the gen-
erated file. See the -i option for the list format.
-k Suppresses replacement of identification keywords (see below) in the retrieved text
by their value. The -k option is implied by the
-e option.
-l[p] Causes a delta summary to be written into an l-file.If
-lp is used, an l-file is not
created; the delta summary is written on the standard output instead. See FILES
for the format of the l-file. The user must have s-file read permission in order to
use the
-l option.
-p Causes the text retrieved from the SCCS file to be written on the standard output.
No g-file is created. All output that normally goes to the standard output goes to file
descriptor 2 (standard error) instead, unless the
-s
option is used, in which case it
disappears.
-s Suppresses all output normally written on the standard output. However, fatal
error messages (which always go to file descriptor 2) remain unaffected.
-m Causes each text line retrieved from the SCCS file to be preceded by the SID of the
delta that inserted the text line in the SCCS file. The format is: SID, followed by a
horizontal tab, followed by the text line.
-n Causes each generated text line to be preceded with the %M% identification keyword
value (see below). The format is: %M% value, followed by a horizontal tab, followed
by the text line. When both the -m and -n options are used, the format is:
%M%
value, followed by a horizontal tab, followed by the -m option-generated format.
-g Suppresses the actual retrieval of text from the SCCS file. It is primarily used to
generate an l-file, or to verify the existence of a particular SID.
-t Used to access the most recently created ("top") delta in a given release (e.g.,
-r1),
or release and level (e.g.,
-r1.2).
-w string Substitute string for all occurrences of @%M% when getting the file.
-aseq-number The delta sequence number of the SCCS file delta (version) to be retrieved (see
sccsfile(4)). This option is used by the comb command (see comb(1)); it is not a gen-
erally useful option, and should be avoided. If both the -r and -a options are
specified, the -a option is used. Care should be taken when using the
-a option in
conjunction with the
-e option, because the SID of the delta to be created may not
be what one expects. The -r option can be used with the -a and -e options to con-
trol the naming of the SID of the delta to be created.
For each file processed,
get responds (on the standard output) with the SID being accessed and with the
number of lines retrieved from the SCCS file.
If the
-e option is used, the SID of the delta to be made appears after the SID accessed and before the
number of lines generated. If there is more than one named file, or if a directory or standard input is
named, each file name is printed (preceded by a new-line) before it is processed. If the -i option is used
included deltas are listed following the notation "Included". If the -x option is used, excluded deltas are
listed following the notation "Excluded".
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010