[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: ale_nospam at fayettedigital.com (Jim)
- Date: Thu, 02 Mar 2006 10:24:30 -0500
- In-reply-to: <[email protected]>
- References: <[email protected]>
Here is an example:
echo "The quick brown fox jumped over the lazy dog's back 1234567890
times." >test.txt
cat test.txt
ex test.txt <<EOF
%s/fox/bear/g
w
q
EOF
cat test.txt
tom sawyer wrote:
>Hello all,
>
>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?
>
>Just curious,
>Thanks,
>Tom
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam? Yahoo! Mail has the best spam protection around
>http://mail.yahoo.com
>_______________________________________________
>Ale mailing list
>Ale at ale.org
>http://www.ale.org/mailman/listinfo/ale
>
>
>
>
>