[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Off the wall vi question
- Subject: [ale] Off the wall vi question
- From: paul_tbot at pcartwright.com (Paul Cartwright)
- Date: Wed, 1 Mar 2006 15:12:56 -0500
- In-reply-to: <[email protected]>
- References: <[email protected]>
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