Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > U

unget(1)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

unget — undo a previous get of an SCCS file

SYNOPSIS

unget [-r SID ] [-s] [-n] file ...

DESCRIPTION

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

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

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).

International Code Set Support

Single-byte and multi-byte character code sets are supported.

DIAGNOSTICS

Use sccshelp(1) for explanations.

WARNINGS

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

p-file

See delta(1).

g-file

See delta(1).

STANDARDS CONFORMANCE

unget: SVID2, SVID3, XPG2, XPG3, XPG4

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.