[ale] Off the wall vi question

Paul Cartwright paul_tbot at pcartwright.com
Wed Mar 1 15:12:56 EST 2006


On Wed March 1 2006 2:47 pm, tom sawyer wrote:
> I was just wondering, is it possible to have a *sh
> script call vi and then execute commands inside of vi?
> ?Or, is it possible to load a file in vi that
> automatically runs commands/aliases/etc?


yes you can, you use a "here document".. I think using "ed" would be 
easier though..

-- 
Paul Cartwright
Registered Linux user # 367800 



More information about the Ale mailing list