AminetAminet
Search:
84515 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/cli/clip.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Manipulate the clipboard from shell (w/src)
Author:cisc at c2i.net (Sigbjørn Skjæret)
Uploader:cisc c2i net (Sigbjørn Skjæret)
Type:util/cli
Version:2.0
Architecture:m68k-amigaos
Date:2001-02-06
Download:http://aminet.net/util/cli/clip.lha - View contents
Readme:http://aminet.net/util/cli/clip.readme
Downloads:681

Feature-packed clipboard manipulator which makes use of stdin/out
redirections intelligently and is 100% Pure so it can be made resident.

New in this version:

· Rewrote abit and removed the need for linking with cres.o.
· Added SHIFT keyword.
· Fixed STRING keyword not working when there was no stdin.


Examples:

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

$ foobar | clip SHIFT | barfoo
  Output of foobar gets written to clipboard and old contents is passed to
barfoo.


- CISC


Contents of util/cli/clip.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1532    2844  53.9% -lh5- 548b Feb  5  2001 clip/clip
[generic]                 2088    6915  30.2% -lh5- 1b4e Feb  5  2001 clip/clip.c
[generic]                  882    2091  42.2% -lh5- 0599 Aug  2  2000 clip/clip.doc
[generic]                   59      81  72.8% -lh5- 18d5 Aug  2  2000 clip/SCOPTIONS
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         4 files    4561   11931  38.2%            Feb  6  2001

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>