Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

vim filters

pipe to php or perl?



9:00 am on Dec 1, 2006 (gmt 0)

5+ Year Member

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 and

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.


Featured Threads

Hot Threads This Week

Hot Threads This Month