HP-UX Reference (11i v1 05/09) - 1 User Commands A-M (vol 1)

g
get(1) get(1)
%R% Release.
%L% Level.
%B% Branch.
%S% Sequence.
%D% Current date (YY/MM/DD).
%H% Current date (MM/DD/YY).
%T% Current time (HH:MM:SS).
%E% Date newest applied delta was created (YY/MM/DD).
%G% Date newest applied delta was created (MM/DD/YY).
%U% Time newest applied delta was created (HH:MM:SS).
%Y% Module type: value of the t
flag in the SCCS file (see admin(1)).
%F% SCCS file name.
%P% Fully qualified SCCS file name.
%Q% The value of the q flag in the file (see admin(1)).
%C% Current line number. This keyword is intended for identifying messages output by the pro-
gram such as "this should not have happened" type errors. It is not intended to be used on
every line to provide sequence numbers.
%Z% The 4-character string @(#) recognizable by what (see what(1)).
%W% A shorthand notation for constructing what(1) strings for HP-UX system program files.
%W%=%Z%%M%horizontal-tab
%I%
%A%
Another shorthand notation for constructing what(1) strings for non-HP-UX system pro-
gram files.
%A% = %Z%%Y% %M% %I%%Z%
EXTERNAL INFLUENCES
Environment Variables
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 vari-
able contains an invalid setting,
get behaves as if all internationalization variables are set to "C". See
environ(5).
International Code Set Support
Single- and multi-byte character code sets are supported.
DIAGNOSTICS
Use sccshelp(1) for explanations.
WARNINGS
If the effective user has write permission (either explicitly or implicitly) in the directory containing the
SCCS files, but the real user does not, then only one file can be named when the -e option is used.
Unexpected results occur when using the -i option to merge changes into sections of a file that have been
(perhaps inadvertently) deleted and subsequently re-inserted into a file.
An l-file cannot be generated when -g is used. In other words, -g -l does not work.
FILES
Several auxiliary files can be created by get. These files are known generically as the g-file, l-file, p-file,
and z-file. The letter before the hyphen is called the tag. An auxiliary file name is formed from the SCCS
file name: the last component of all SCCS file names must be of the form s.module-name, the auxiliary
Section 1332 Hewlett-Packard Company 4 HP-UX 11i Version 1: September 2005