in reply to Re: Re: Using perl interactively with VI
in thread Using perl interactively with VI

Then what about:
#!/usr/bin/perl -pi s/this/that/g;
I honestly don't know how to call filters from vi ... so i don't know how to test this. But i think this should take care of the problem.

UPDATE:
Just figured out how to use filters in vi, that wasn't hard at all! Yes, this definetly takes care of the problem. :)

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)