http://www.perlmonks.org?node_id=374771


in reply to making my script work with vi

I asked a similar question once-- maybe the answers here might give you some more ideas. Good Luck.

Pax,

NovMonk