Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ unget(1) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

delta(1)

get(1)

help(1)

sact(1)

unget(1)

NAME

unget − undo a previous get of an SCCS file

SYNOPSIS

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

DESCRIPTION

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

-rSID 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

International Code Set Support

Single- and multi-byte character code sets are supported with the exception that multi-byte-character file names are not supported. 

DIAGNOSTICS

Use help(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).

SEE ALSO

delta(1), get(1), help(1), sact(1). 

SCCS User’s Guide, in Programming on HP-UX . 

STANDARDS CONFORMANCE

unget: SVID2, XPG2, XPG3

Hewlett-Packard Company  —  HP-UX Release 9.10: April 1995

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026