Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <002901c1fa03$dab86cd0$0100a8c0@albert> From: "Raoul Gough" To: Subject: Cut and paste standard input and output Date: Sun, 12 May 2002 23:24:57 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 After which, I can paste the ls output direct into a windows App. It's much easier than selecting and cutting from the command-shell window, especially if there is a lot of output. The command has three options, -x cuts, -c copies (kinda like tee) and -v pastes to standard output. If this tool doesn't already exist, I'd be willing to contribute the code. Any interest and advice on how to submit it? Thanks, Raoul Gough. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- 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/