delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/26/15:17:08

X-Spam-Check-By: sourceware.org
Message-ID: <e660b2250708261216s26bd0ed9sa9357d85ae451680@mail.gmail.com>
Date: Sun, 26 Aug 2007 14:16:41 -0500
From: "=?ISO-8859-1?Q?Carlos_Narv=E1ez?=" <crakup AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: External script to filter text blocks
MIME-Version: 1.0
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

I want to make a customizable external script to filter text blocks.

I know this is possible, but I'm not sure how to call the script (how
much of the path to specify, or where to store the script), or how to
get standard input into the file (in the case of php).

I'm using cygwin on windows

So instead of the oft mentioned

:! sort

I want to do something like this:

:! filter_file arg1 arg2...

Can anyone lend a hand, or point me to a good resource on this? I've
looked all over and only get the :! sort example everywhere.

-- 
http://www.juegopixel.com/
http://www.aerolineasmexicanas.com.mx/

--
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