unget(1) unget(1)
NAME [Toc] [Back]
unget - undo a previous get of an SCCS file
SYNOPSIS [Toc] [Back]
unget [-r SID] [-s] [-n] file ...
DESCRIPTION [Toc] [Back]
The unget command undoes the effect of a get -e done prior to creating
the intended new delta. If file is a directory name, unget treats
each file in the directory as a file to be processed, except that
non-SCCS files and unreadable files are silently ignored. If - is
specified for file, the standard input is read with each line being
taken as the name of an SCCS file to be processed. Refer to sact(1),
which describes how to determine what deltas are currently binding for
an s-file.
Options [Toc] [Back]
unget recognizes the following options and command-line arguments.
Options and arguments apply independently to each named file.
-r SID Uniquely identifies which delta is no longer wanted
(this would have been specified by get as the ``new
delta''). This option is necessary only if two or
more outstanding gets for editing on the same SCCS
file were done by the same person (login name).
unget prints a diagnostic message if the specified
SID is ambiguous, or if it is required but not
present on the command line (see sact(1)).
-s Silent option. Suppress printing the intended
delta's SID on the standard output.
-n Retain the file deposited in the current directory by
the previous get. Normally this file is removed by
unget.
EXTERNAL INFLUENCES [Toc] [Back]
Environment Variables
LC_MESSAGES determines the language in which messages are displayed.
If 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,
unget behaves as if all internationalization variables are set to "C".
See environ(5).
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003
unget(1) unget(1)
International Code Set Support [Toc] [Back]
Single-byte and multi-byte character code sets are supported.
DIAGNOSTICS [Toc] [Back]
Use sccshelp(1) for explanations.
WARNINGS [Toc] [Back]
Only the user who did the corresponding get -e can execute unget. Any
other user must either use su to change user ID to that user (see
su(1)), or edit the p-file directly (which can be done either by the
s-file owner or a user who has appropriate privileges).
FILES [Toc] [Back]
p-file See delta(1).
g-file See delta(1).
SEE ALSO [Toc] [Back]
delta(1), get(1), sccshelp(1), sact(1).
STANDARDS CONFORMANCE [Toc] [Back]
unget: SVID2, SVID3, XPG2, XPG3, XPG4
Hewlett-Packard Company - 2 - HP-UX 11i Version 2: August 2003 [ Back ] |