Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ unget(1) — OSF/1 1.0 (TIN) MIPS

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

admin(1)

cdc(1)

comb(1)

delta(1)

get(1)

prs(1)

rmdel(1)

sact(1)

sccsdiff(1)

sccshelp(1)

val(1)

what(1)

sccsfile(4)

unget(1)  —  Commands

OSF

NAME

unget − Cancels a previous get command

SYNOPSIS

unget [-ns] [-rSID ...] file ...  | -

The unget command allows you to restore a g-file created with a get -e before the new delta is created, and therefore discard the changes (see the get and delta commands). 

FLAGS

Each flag or group of flags applies independently to each named file. 

-nPrevents the automatic deletion of the g-file.  This flag allows you to retain the edited version of the file without making a delta. 

-rSIDSpecifies the new delta that would have been created by the next use of the delta command.  You must use this flag if you have two or more pending deltas to the file under the same login name.  You can look at the p-file to see if you have more than one delta pending to a particular SID under the same login name.  The SID specification must unambiguously specify only one SID to discard, or unget displays an error message and stops running. 

-sSuppresses displaying the deleted SID. 

DESCRIPTION

If you specify a - (dash) in place of file, standard input is read, and each line of standard input is interpreted as the name of a Source Code Control System (SCCS) file.  An End-of-File character terminates input. 

If you specify a directory in place of file, unget performs the requested actions on all SCCS files (those files with the s. prefix). 

EXAMPLES

To discard the changes you have made to an SCCS file after doing a get -e, enter:

unget  s.prog.c

RELATED INFORMATION

Commands:  admin(1), cdc(1), comb(1), delta(1), get(1), prs(1), rmdel(1), sact(1), sccsdiff(1), sccshelp(1), val(1), what(1). 

Files:  sccsfile(4). 

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