up | Inhaltsverzeichniss | Kommentar

Manual page for PBCOPY(1)

pbcopy, pbpaste - provide copying and pasting from command line

SYNOPSIS

/usr/bin/pbcopy

/usr/bin/pbpaste [ -Prefer {ascii | rtf | ps} ]

DESCRIPTION

pbcopy takes the standard input and places it in the OPENSTEP 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.

pbpaste 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 pbpaste what type of data to look for in the pasteboard first. As stated above, pbpaste normally looks first for ASCII data; however, by specifying -Prefer ps you can tell pbpaste to look first for Encapsulated PostScript. If you specify -Prefer rtf, pbpaste looks first for Rich Text format. In any case, pbpaste looks for the other formats if the preferred one is not found.

BUGS

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


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97