wcopy man page on Tru64

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
Tru64 logo
[printable version]

wcopy,wpaste(1)						       wcopy,wpaste(1)

NAME
       wcopy  -	 copy stdin to an X11 cut buffer wpaste - paste X11 cut buffer
       to stdout

SYNOPSIS
       wcopy [ [0-9]... ] [wxcopy's normal args]

DESCRIPTION
       wcopy reads from standard input and copies it to the nominated X11  cut
       buffers.	 The default is the first cut buffer.

       wpaste pastes the nominated X11 cut buffers(s) to standard output.  The
       default is the first cut buffer.

       Note that the cut buffers are numbered starting from 0.

       Simple integer arguments pick a cut-buffer.

       For wcopy, the argument number picks a cut-buffer to copy the  standard
       input to.  (Subsequent copies are taken from the first nominated buffer
       - it does not try to re-read the input!))

EXAMPLES
       echo fred | wcopy 1 2
		      This puts the word "fred" into the 2nd and 3rd  cut-buf‐
		      fers.

       wpaste | tr A-Z a-z | wcopy 1
		      This copies the clipboard then translates all upper case
		      letters to lower in the 1st cut buffer  and  copies  the
		      result into the 2nd.

       wpaste 0 | fmt -w 66 | sed 's/^/> /' | wcopy 1
		      This reformats the clipboard to paragraphs with lines no
		      longer than 66 characters, inserts typical email quoting
		      characters, and copies the output to the 2nd cut-buffer.

       wpaste | sed 's/^> *//' | wcopy
		      This removes email quotes from the start of lines in the
		      clipboard and replaces the clipboard with the  un-quoted
		      material.

       wpaste > ~/.myclipboard
		      Copies  the  clipboard  into  a location where it can be
		      pixked up from other computers (e.g. even from a Windows
		      machine)	-  as  per the file permissions you choose for
		      the ".myclipboard" file.

ENVIRONMENT
       If WXCOPY_DEFS or WXPASTE_DEFS are defined in  your  environment,  they
       will  always  be	 provided  as  the first argument(s) to the respective
       underlying command.

BUGS
       Don't use "-cutbuffer N" notation as per wxcopy/wxpaste: stick to  just
       using the plain unadorned number(s) that wcopy/wpaste expect.

SEE ALSO
       wxcopy(1), wxpaste(1), xcb(1)

AUTHOR
       Luke Kendall

4th Berkeley Distribution	   04/09/01		       wcopy,wpaste(1)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Tru64

List of man pages available for Tru64

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net