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 ¯ag in the SCCS ®le (see admin(1)).

%F%

SCCS ®le name.

%P%

Fully quali®ed SCCS ®le name.

%Q%

The value of the q ¯ag in the ®le (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 ®les.

 

%W%=%Z%%M%horizontal-tab%I%

%A%

Another shorthand notation for constructing what(1) strings for non-HP-UX system pro-

 

gram ®les.

 

%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 speci®ed in the environment or is set to the empty string, the value of LANG is used as a default for each unspeci®ed or empty variable. If LANG is not speci®ed 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, 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 ®les, but the real user does not, then only one ®le can be named when the -eoption is used.

Unexpected results occur when using the -ioption to merge changes into sections of a ®le that have been (perhaps inadvertently) deleted and subsequently re-inserted into a ®le.

An l-®lecannot be generated when -gis used. In other words, -g-ldoes not work.

FILES

Several auxiliary ®les can be created by get. These ®les are known generically as the g-®le, l-®le, p-®le, and z-®le. The letter before the hyphen is called the tag. An auxiliary ®le name is formed from the SCCS ®le name: the last component of all SCCS ®le names must be of the form s.module-name, the auxiliary

HP-UX Release 11i: December 2000

− 4 −

Section 1321

g