On 8/26/07, Carlos Narváez <[EMAIL PROTECTED]> wrote: > 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.
You can write your own fairly easily. Some tools that come to mind are sed, awk, grep, and perl If you can be more specific, you might get a more useful reply. -- 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/