Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ospaste(1) — OPENSTEP for Solaris 1.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

COPY(1)

NAME

copy, paste − provide copying and pasting from command line

SYNOPSIS

/usr/bin/copy

/usr/bin/paste [ −Prefer {ascii | rtf | ps} ]

DESCRIPTION

copy takes the standard input and places it in the OpenStep(tm) pasteboard.  The input is placed in the pasteboard as ASCII data unless it begins with the Adobe Systems Encapsulated PostScript file header or the Microsoft Rich Text Format file header, in which case it is placed in the pasteboard as one of those data types. 

paste removes the data from the pasteboard and writes it to the standard output.  It normally looks first for ASCII data in the pasteboard and writes that to the standard output; if no ASCII data is in the pasteboard it looks for Encapsulated PostScript; if no EPS if present it looks for Rich Text.  If none of those types is present in the pasteboard, paste produces no output. 

OPTIONS

−Prefer {ascii | rtf | ps}
tells paste what type of data to look for in the pasteboard first.  As stated above, paste normally looks first for ASCII data; however, by specifying -Prefer ps you can tell paste to look first for Encapsulated PostScript.  If you specify -Prefer rtf, paste looks first for Rich Text format.  In any case, paste looks for the other formats if the preferred one is not found. 

BUGS

There is no way to tell paste to get only a specified data type. 

Sun Microsystems, Inc.  —  Last change: 22 Jul 1996

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