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 >
Text File  |  2000-07-29  |  2KB  |  63 lines

  1. clip(1)                    USER COMMANDS                      clip(1)
  2.  
  3.  
  4. NAME
  5.      clip - manipulate the clipboard from shell
  6.  
  7. SYNOPSIS
  8.      clip FILE,UNIT/K/N,STRING/K,STORE/S,HELP/S
  9.  
  10. DESCRIPTION
  11.      clip can read and write to the clipboard, and
  12.      if UNIT is supplied, will use that clipboad unit
  13.  
  14. OPTIONS
  15.      FILE    A filename to read from or write to
  16.      UNIT    The unit number of the clipboard unit to use
  17.      STRING  A string to be stored in the clipboard
  18.      STORE   Together with FILE determins if file should be read or written to
  19.      HELP    Displays a short help and copyright information
  20.  
  21. NOTE
  22.      The program can be made resident.
  23.      If no UNIT parameter is supplied, default is UNIT=0.
  24.      The STORE switch is only required if you want to have 
  25.      the contents of FILE written to the clipboard.
  26.  
  27. EXAMPLE
  28.      $ clip
  29.      The contents of clipboard unit 0 will get written to stdout.
  30.  
  31.      $ clip foobar
  32.      The contents of the clipboard unit 0 will be written to the file foobar.
  33.  
  34.      $ clip foobar STORE
  35.      The contents of the file foobar will get written to clipboard unit 0.
  36.  
  37.      $ clip UNIT=3 STRING="He never saw Molly again"
  38.      The string "He never saw Molly again" will be written to clipboard unit 3.
  39.  
  40.      $ foobar | clip
  41.      Output of the program foobar will get written to clipboard unit 0
  42.  
  43.      $ clip | foobar
  44.      The clipboard contents of unit 0 will be supplied to the program foobar.
  45.  
  46.      $ foobar | clip | barfoo
  47.      Output of foobar gets written to clipboard and is passed through to barfoo.
  48.  
  49. REQUIREMENTS
  50.      An Amiga with OS version 2.04 or higher.
  51.      iffparse.library v39+
  52.  
  53. BUGS
  54.      Appends a LF to stdout when not redirected. This is a feature :-)
  55.  
  56. AUTHOR
  57.      Programming: Sigbjørn Skjæret <cisc@c2i.net>
  58.      Idea & Docs: Nicholas Stallard <snowy@netphile.de>
  59.  
  60. COPYRIGHT
  61.      None. This program is in the public domain.
  62.  
  63.