This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cut and paste standard input and output


Quoting Charles Wilson <cwilson@ece.gatech.edu>:
> Raoul Gough wrote:
> 
> > I recently wrote a simple command-line tool that cuts or pastes plain
> text
> > to/from standard input/output. I find it quite useful sometimes, when
> I've
> > got a script that generates some output and I want to process the
> output in
> > a windows application (or vice-versa).
> > 
> > e.g.
> > 
> > ls -lR | clipboard -x
> > 
> Have you seen the 'putclip' and 'getclip' applications that are part of
> 
> the official 'cygutils' package?

Or just use

    ls -lR > /dev/clipboard

 - Michael

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]