3 # Provide some enhancements to the wxcopy command, which copies standard input
4 # to an X11 clipboard text buffer.
6 # Allow copying from stdin to any of the cutbuffers. Note that they are
7 # indexed counting from 0.
17 USAGE
="usage: $MYNAME [ [0-9]... ] [wxcopy's args]"
20 if expr "x$n" : 'x[0-9][0-9]*$' > /dev
/null
23 elif [ "x$n" = "x-h" ]
32 wxcopy
$WXCOPY_DEFS $WXARGS -cutbuffer $1
37 wxpaste
-cutbuffer $ORIG | wxcopy
$WXCOPY_DEFS $WXARGS -cutbuffer $n