delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
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" <RaoulGough AT yahoo DOT co DOT uk> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Cut and paste standard input and output |
Date: | Sun, 12 May 2002 23:24:57 +0100 |
MIME-Version: | 1.0 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |