home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magazyn Exec 3
/
CD_Magazyn_EXEC_nr_3.iso
/
Recent
/
util
/
cli
/
clip.lha
/
clip
/
clip.doc
< prev
next >
Wrap
Text File
|
2000-07-29
|
2KB
|
63 lines
clip(1) USER COMMANDS clip(1)
NAME
clip - manipulate the clipboard from shell
SYNOPSIS
clip FILE,UNIT/K/N,STRING/K,STORE/S,HELP/S
DESCRIPTION
clip can read and write to the clipboard, and
if UNIT is supplied, will use that clipboad unit
OPTIONS
FILE A filename to read from or write to
UNIT The unit number of the clipboard unit to use
STRING A string to be stored in the clipboard
STORE Together with FILE determins if file should be read or written to
HELP Displays a short help and copyright information
NOTE
The program can be made resident.
If no UNIT parameter is supplied, default is UNIT=0.
The STORE switch is only required if you want to have
the contents of FILE written to the clipboard.
EXAMPLE
$ clip
The contents of clipboard unit 0 will get written to stdout.
$ clip foobar
The contents of the clipboard unit 0 will be written to the file foobar.
$ clip foobar STORE
The contents of the file foobar will get written to clipboard unit 0.
$ clip UNIT=3 STRING="He never saw Molly again"
The string "He never saw Molly again" will be written to clipboard unit 3.
$ foobar | clip
Output of the program foobar will get written to clipboard unit 0
$ clip | foobar
The clipboard contents of unit 0 will be supplied to the program foobar.
$ foobar | clip | barfoo
Output of foobar gets written to clipboard and is passed through to barfoo.
REQUIREMENTS
An Amiga with OS version 2.04 or higher.
iffparse.library v39+
BUGS
Appends a LF to stdout when not redirected. This is a feature :-)
AUTHOR
Programming: Sigbjørn Skjæret <cisc@c2i.net>
Idea & Docs: Nicholas Stallard <snowy@netphile.de>
COPYRIGHT
None. This program is in the public domain.