delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/21/14:42:25

X-Spam-Check-By: sourceware.org
Message-ID: <BAY13-F5ED4B54F7DAE72F232304A9740@phx.gbl>
X-Sender: sbremal AT hotmail DOT com
From: "B. S." <sbremal AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Pass-through filter with logging
Date: Wed, 21 Mar 2007 19:41:54 +0000
Mime-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Hi All,

I'm trying to do the following:

lynx -source $url > logged_file
tidy -asxml -q < logged_file

in a more elegant way like:

lynx -source $url | log_pass_through logged_file | tidy -asxml -q

I believe (maybe not true) that the latter should be more performant since 
the file is not needed to be read.

The question is: Does such command ("log_pass_through") exist by default in 
Cygwin?

Cheers,
Balazs

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019