[ale] Off the wall vi question

Jim ale_nospam at fayettedigital.com
Thu Mar 2 10:24:30 EST 2006


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
>
>
>
>  
>




More information about the Ale mailing list