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)

Full Member

10+ Year Member

joined:Apr 30, 2006
votes: 0

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.


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members